summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ctdb/tests/simple/scripts/local.bash7
1 files changed, 1 insertions, 6 deletions
diff --git a/ctdb/tests/simple/scripts/local.bash b/ctdb/tests/simple/scripts/local.bash
index 7b4a4f030df..5ffe2892c5c 100644
--- a/ctdb/tests/simple/scripts/local.bash
+++ b/ctdb/tests/simple/scripts/local.bash
@@ -6,11 +6,6 @@ export SIMPLE_TESTS_VAR_DIR="${TEST_VAR_DIR}/simple"
# Don't remove old directory since state is retained between tests
mkdir -p "$SIMPLE_TESTS_VAR_DIR"
-if [ -z "$TEST_LOCAL_DAEMONS" ] ; then
- # Running against a real cluster
- setup_ctdb_base "$SIMPLE_TESTS_VAR_DIR" "ctdb-etc" \
- functions \
- nodes
-else
+if [ -n "$TEST_LOCAL_DAEMONS" ] ; then
. "${TEST_SUBDIR}/scripts/local_daemons.bash"
fi