From: Martin Pool Date: Thu, 6 Sep 2001 02:30:06 +0000 (+0000) Subject: Clean up output a little. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/ec99e9da819e00f76ae25fb0a4acb7306c6b7e5d Clean up output a little. --- diff --git a/runtests.sh b/runtests.sh index 77a2fa97..7cf018e2 100755 --- a/runtests.sh +++ b/runtests.sh @@ -177,9 +177,9 @@ done echo '------------------------------------------------------------' echo "----- overall results:" echo " $passed passed" -echo " $failed failed" -echo " $skipped skipped" -echo " $missing missing" +[ "$failed" -gt 0 ] && echo " $failed failed" +[ "$skipped" -gt 0 ] && echo " $skipped skipped" +[ "$missing" -gt 0 ] && echo " $missing missing" echo '------------------------------------------------------------' exit `expr $failed + $missing`