summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/scripts')
-rw-r--r--ctdb/tests/scripts/ctdb_test_functions.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/tests/scripts/ctdb_test_functions.bash b/ctdb/tests/scripts/ctdb_test_functions.bash
index 60b8e9de77..b086b7fb5c 100644
--- a/ctdb/tests/scripts/ctdb_test_functions.bash
+++ b/ctdb/tests/scripts/ctdb_test_functions.bash
@@ -64,6 +64,7 @@ ctdb_test_exit ()
[ $(($testfailures+0)) -eq 0 -a $status -ne 0 ] && testfailures=$status
eval "$ctdb_test_exit_hook"
+ unset ctdb_test_exit_hook
if ! onnode 0 $CTDB_TEST_WRAPPER cluster_is_healthy ; then
echo "Restarting ctdb on all nodes to get back into known state..."