diff options
author | Martin Schwenke <martin@meltin.net> | 2012-06-20 15:57:48 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2012-07-26 22:03:00 +1000 |
commit | 053174c07bc0fb5e5563d5023b71007390c7762f (patch) | |
tree | 98e30d7a8f63c6c59df4c847e75307e1c6a634e4 | |
parent | 867381486d25a8562090a3766ff8ec4836e1de50 (diff) | |
download | samba-053174c07bc0fb5e5563d5023b71007390c7762f.tar.gz samba-053174c07bc0fb5e5563d5023b71007390c7762f.tar.xz samba-053174c07bc0fb5e5563d5023b71007390c7762f.zip |
tests: run_tests should exit with $status with -e option
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 619af3e857c2ced3840abfd86135cc954796da97)
-rwxr-xr-x | ctdb/tests/scripts/run_tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/scripts/run_tests b/ctdb/tests/scripts/run_tests index 0d9577461b..50a578b26c 100755 --- a/ctdb/tests/scripts/run_tests +++ b/ctdb/tests/scripts/run_tests @@ -244,7 +244,7 @@ else fi if [ $tests_failed -gt 0 ] ; then - if $no_header ; then + if $no_header || $exit_on_fail ; then exit $status else exit 1 |