diff options
author | Martin Schwenke <martin@meltin.net> | 2011-08-19 11:21:33 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2011-08-30 16:51:54 +1000 |
commit | 625e0c5aea92de751a806b5d27af49d2441d1135 (patch) | |
tree | 6a1a07bfcec0058118f5d89a77f9a35f195246e3 | |
parent | aa64622137c16174cf95b448819c0cc598fb2f15 (diff) | |
download | samba-625e0c5aea92de751a806b5d27af49d2441d1135.tar.gz samba-625e0c5aea92de751a806b5d27af49d2441d1135.tar.xz samba-625e0c5aea92de751a806b5d27af49d2441d1135.zip |
Tests - add -T (trace) option to eventscripts run_test.sh
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 08eeb788523afe19760b00f40339b702eb193712)
-rwxr-xr-x | ctdb/tests/eventscripts/run_tests.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/tests/eventscripts/run_tests.sh b/ctdb/tests/eventscripts/run_tests.sh index cb2c8f2950..ec17b5f7a7 100755 --- a/ctdb/tests/eventscripts/run_tests.sh +++ b/ctdb/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 |