summaryrefslogtreecommitdiff
path: root/tests/tr/build-script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tr/build-script')
-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