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 efa611e..4df5f34 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