git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5be904f
)
Tests - add -T (trace) option to eventscripts run_test.sh
author
Martin Schwenke
<martin@meltin.net>
Fri, 19 Aug 2011 01:21:33 +0000
(11:21 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Tue, 30 Aug 2011 06:51:54 +0000
(16:51 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/eventscripts/run_tests.sh
patch
|
blob
|
history
diff --git
a/tests/eventscripts/run_tests.sh
b/tests/eventscripts/run_tests.sh
index cb2c8f2950763c920e82f9e1fc5115d93261eea4..ec17b5f7a71a08eba52e6c5a9fbc141d4f80c076 100755
(executable)
--- a/
tests/eventscripts/run_tests.sh
+++ b/
tests/eventscripts/run_tests.sh
@@
-15,6
+15,12
@@
for i ; do
export EVENTSCRIPT_TESTS_VERBOSE="yes"
shift
;;
+ -T)
+ # This will cause tests to fail but is good for debugging
+ # individual tests when they fail.
+ export EVENTSCRIPTS_TESTS_TRACE="sh -x"
+ shift
+ ;;
-*)
opts="$opts $i"
shift