From: Mike Frysinger Date: Mon, 11 May 2015 03:03:58 +0000 (-0400) Subject: test: drop perl requirement X-Git-Tag: v3.2.3~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9fd1025f031c62f027f9311f6cec1f775729185;p=thirdparty%2Fccache.git test: drop perl requirement Since perl is used in just one place and can easily be replaced by a little bit of shell, do so. This makes testing on limited systems easier. Signed-off-by: Mike Frysinger --- diff --git a/INSTALL.txt b/INSTALL.txt index 256beabc4..f77cbe676 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -67,7 +67,6 @@ In addition to the prerequisites mentioned above, you also need: To debug and run the performance test suite you'll also need: -- Perl (http://www.perl.org/) - Python (http://www.python.org/) Run "./autogen.sh" and then follow the steps mentioned under "Installation" diff --git a/test.sh b/test.sh index f14e287dd..1090649b2 100755 --- a/test.sh +++ b/test.sh @@ -1834,7 +1834,7 @@ prepare_cleanup_test() { mkdir -p $dir i=0 while [ $i -lt 10 ]; do - perl -e 'print "A" x 4017' >$dir/result$i-4017.o + printf '%4017s' '' | tr ' ' 'A' >$dir/result$i-4017.o touch $dir/result$i-4017.stderr touch $dir/result$i-4017.d if [ $i -gt 5 ]; then