diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tr/build-script.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tr/build-script.pl b/tests/tr/build-script.pl index 961e864b9..5250d5c64 100755 --- a/tests/tr/build-script.pl +++ b/tests/tr/build-script.pl @@ -10,7 +10,7 @@ use Test; $| = 1; -my $xx = '../../src/tr'; +my $xx = $ARGV[0]; print <<EOF; #! /bin/sh @@ -20,7 +20,7 @@ case \$# in *) xx="\$1";; esac test "\$VERBOSE" && echo=echo || echo=: -\$echo testing with $xx=\$xx +\$echo testing program: \$xx errors=0 test "\$srcdir" || srcdir=. test "\$VERBOSE" && \$xx --version 2> /dev/null |