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-Tag: mbp_bk_export0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a426e396c47cd5a5dfbf6466bcb0025912804379;p=thirdparty%2Frsync.git 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