Debug exit status -- on Sun1/cc all the tests pass, but make sees an
authorMartin Pool <mbp@samba.org>
Thu, 6 Sep 2001 13:12:28 +0000 (13:12 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 6 Sep 2001 13:12:28 +0000 (13:12 +0000)
exit status of 1. ???

runtests.sh

index 64ba317..ff67838 100755 (executable)
@@ -203,4 +203,6 @@ echo "      $passed passed"
 [ "$missing" -gt 0 ] && echo "      $missing missing"
 echo '------------------------------------------------------------'
 
-exit `expr $failed + $missing`
+result=`expr $failed + $missing`
+echo "(overall result is $result)"
+exit $result