summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-16 17:13:39 +0000
committerJim Meyering <jim@meyering.net>1995-05-16 17:13:39 +0000
commit6a3f88500f6b7981921f54c740e9b9f2f890e8bd (patch)
tree02b7a148b52ce04d30e99f5bc7d3c89c2e656adc /tests
parentb03da97486629ae4f224b49c8f317dc6a2209b37 (diff)
downloadcoreutils-6a3f88500f6b7981921f54c740e9b9f2f890e8bd.tar.xz
Always print message at end, not just upon failure.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tr/build-script6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tr/build-script b/tests/tr/build-script
index d716af6a3..eaa01faa4 100755
--- a/tests/tr/build-script
+++ b/tests/tr/build-script
@@ -1,4 +1,4 @@
-#!/p/bin/perl5.000 -w
+#!/p/bin/perl -w
$tr = '../tr +io 5';
$tr = './tr';
@@ -54,7 +54,9 @@ fi
EOF
}
print <<EOF2 ;
-if test \$errors -gt 0 ; then
+if test \$errors = 0 ; then
+ echo Passed all tests. 1>&2
+else
echo Failed \$errors tests. 1>&2
fi
EOF2