]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Return 1 if any tests failed so that the build farm can pick it up.
authorMartin Pool <mbp@samba.org>
Tue, 21 Aug 2001 14:06:52 +0000 (14:06 +0000)
committerMartin Pool <mbp@samba.org>
Tue, 21 Aug 2001 14:06:52 +0000 (14:06 +0000)
testsuite/master.test

index efa611eab71b612f65cd114d76924d0969643085..4df5f3430970283f82b9e87d14840b2c611bea9e 100755 (executable)
@@ -90,3 +90,10 @@ echo "      $failed failed"
 echo "      $skipped skipped"
 echo "      $missing missing"
 echo '------------------------------------------------------------'
+
+if test $failed -gt 0
+then
+    exit 1
+else
+    exit 0
+fi