summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-08-05 03:36:01 +0000
committerJim Meyering <jim@meyering.net>1996-08-05 03:36:01 +0000
commit1c892790d9c7cca3c266b575f06855f6556184ef (patch)
tree38e8f2ee4c5fc78c35d089d26f0745cb4b901bca /tests
parentbd51f25754eb673f9059c3fc9b505bfc85011084 (diff)
downloadcoreutils-1c892790d9c7cca3c266b575f06855f6556184ef.tar.xz
.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tr/build-script.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tr/build-script.pl b/tests/tr/build-script.pl
index cf644af6f..7d8e13581 100755
--- a/tests/tr/build-script.pl
+++ b/tests/tr/build-script.pl
@@ -7,12 +7,12 @@ $| = 1;
print <<EOF;
#! /bin/sh
-# run-test generated automatically by automake 1.0 from Makefile.am
+# run-test generated automatically by build-script from test.data.pl
case \$# in
0) xx='$xx';;
*) xx="\$1";;
esac
-echo=:
+echo=echo
\$echo testing with $xx=\$xx
errors=0
EOF
@@ -73,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