From: Martin Pool Date: Tue, 21 Aug 2001 14:06:52 +0000 (+0000) Subject: Return 1 if any tests failed so that the build farm can pick it up. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/a426e396c47cd5a5dfbf6466bcb0025912804379 Return 1 if any tests failed so that the build farm can pick it up. --- diff --git a/testsuite/master.test b/testsuite/master.test index efa611ea..4df5f343 100755 --- a/testsuite/master.test +++ b/testsuite/master.test @@ -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