summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-09-06 02:30:06 +0000
committerMartin Pool <mbp@samba.org>2001-09-06 02:30:06 +0000
commitec99e9da819e00f76ae25fb0a4acb7306c6b7e5d (patch)
tree4090d90f46ea43eacc509a7d236dddd57fc479b4
parente052b21f32e69c0368ec1379b4cd22ebe662e557 (diff)
downloadrsync-ec99e9da819e00f76ae25fb0a4acb7306c6b7e5d.tar.gz
Clean up output a little.
-rwxr-xr-xruntests.sh6
1 files changed, 3 insertions, 3 deletions
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`