git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704a3e3
)
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>
tests/scripts/run_tests
patch
|
blob
|
history
diff --git
a/tests/scripts/run_tests
b/tests/scripts/run_tests
index 2ad215dad95040c95c5007be0391efb692ab2409..7a86301c9515168c60964af3e2d439b7144d1e1a 100755
(executable)
--- a/
tests/scripts/run_tests
+++ b/
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