git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05062d8
)
tests: run_tests should exit with failed test status if running with -H
author
Martin Schwenke
<martin@meltin.net>
Fri, 20 Apr 2012 04:09:43 +0000
(14:09 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Fri, 27 Apr 2012 05:40:43 +0000
(15:40 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit
6eb7fa572e7fc212332ddd68793e3f35161baf7c
)
ctdb/tests/scripts/run_tests
patch
|
blob
|
history
diff --git
a/ctdb/tests/scripts/run_tests
b/ctdb/tests/scripts/run_tests
index 2ad215dad95040c95c5007be0391efb692ab2409..7a86301c9515168c60964af3e2d439b7144d1e1a 100755
(executable)
--- a/
ctdb/tests/scripts/run_tests
+++ b/
ctdb/tests/scripts/run_tests
@@
-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