]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Always print message at end, not just upon failure.
authorJim Meyering <jim@meyering.net>
Tue, 16 May 1995 17:13:39 +0000 (17:13 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 16 May 1995 17:13:39 +0000 (17:13 +0000)
tests/tr/build-script

index d716af6a3e705956332ef8db61e258187d412b1a..eaa01faa405c0058478e44a3dad43c791acb356f 100755 (executable)
@@ -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