From b3dbc3f3aa0cb9e2ae338ea44dee0d4c7b4e51b5 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Mon, 15 Dec 2008 17:52:12 +1100 Subject: 3 new tests. 24_ctdb_getdbmap.sh is only 1/2 implemented but does something vaguely useful. ctdb_test_exit unsets $ctdb_test_exit_hook. Fix bug in 17_ctdb_config_delete_ip.sh. Signed-off-by: Martin Schwenke (This used to be ctdb commit f90f6e19952d58b8590fe550ecf2308bd9b065dc) --- ctdb/tests/scripts/ctdb_test_functions.bash | 1 + 1 file changed, 1 insertion(+) (limited to 'ctdb/tests/scripts') 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..." -- cgit