From 7490145dd0a0f016cfe893650e517d2bd2dc66d1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 1 Sep 2011 23:59:02 +0200 Subject: tests: remove require-perl script; use function instead * tests/require-perl: Remove file. * tests/Makefile.am (EXTRA_DIST): Remove it from this list. * tests/init.cfg (require_perl_): New function. * tests/misc/pwd-long: Use the new function, not the file. * tests/ls/nameless-uid: Likewise. * tests/misc/sum-sysv: Likewise. --- tests/ls/nameless-uid | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/ls') diff --git a/tests/ls/nameless-uid b/tests/ls/nameless-uid index 49521037e..9b8139204 100755 --- a/tests/ls/nameless-uid +++ b/tests/ls/nameless-uid @@ -16,13 +16,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -: ${srcdir=.} -. $srcdir/require-perl - . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ ls require_root_ +require_perl_ nameless_uid=`$PERL -e ' foreach my $i (1000..16*1024) { getpwuid $i or (print "$i\n"), exit } -- cgit v1.2.3-54-g00ecf