summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-08-05 00:14:16 +0000
committerJim Meyering <jim@meyering.net>1996-08-05 00:14:16 +0000
commitbd51f25754eb673f9059c3fc9b505bfc85011084 (patch)
treeb659e81e4da42c245f9f97eca8937a0cde8fbce8 /tests
parent406c6613bba368ece708f79d19c5a11730c74034 (diff)
downloadcoreutils-bd51f25754eb673f9059c3fc9b505bfc85011084.tar.xz
.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tr/build-script.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tr/build-script.pl b/tests/tr/build-script.pl
index 46513bfdd..cf644af6f 100755
--- a/tests/tr/build-script.pl
+++ b/tests/tr/build-script.pl
@@ -1,4 +1,4 @@
-#!/p/bin/perl -w
+#! @PERL@ -w
require 5.002;
use strict;
@@ -7,6 +7,7 @@ $| = 1;
print <<EOF;
#! /bin/sh
+# run-test generated automatically by automake 1.0 from Makefile.am
case \$# in
0) xx='$xx';;
*) xx="\$1";;
@@ -72,6 +73,6 @@ if test \$errors = 0 ; then
else
\$echo Failed \$errors tests. 1>&2
fi
-test \$errors = 0 && \$errors=1
+test \$errors = 0 && $errors=1
exit \$errors
EOF2