1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

tests: run_tests should exit with failed test status if running with -H

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 6eb7fa572e7fc212332ddd68793e3f35161baf7c)
This commit is contained in:
Martin Schwenke 2012-04-20 14:09:43 +10:00
parent 05062d874a
commit c4606275c9

View File

@ -199,5 +199,9 @@ fi
rm -f "$sf"
if [ $tests_failed -gt 0 ] ; then
exit 1
if $no_header ; then
exit $status
else
exit 1
fi
fi