diff options
author | Jim Meyering <jim@meyering.net> | 1995-05-16 17:13:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-05-16 17:13:39 +0000 |
commit | 6a3f88500f6b7981921f54c740e9b9f2f890e8bd (patch) | |
tree | 02b7a148b52ce04d30e99f5bc7d3c89c2e656adc | |
parent | b03da97486629ae4f224b49c8f317dc6a2209b37 (diff) | |
download | coreutils-6a3f88500f6b7981921f54c740e9b9f2f890e8bd.tar.xz |
Always print message at end, not just upon failure.
-rwxr-xr-x | tests/tr/build-script | 6 |
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 |