]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Don't run setup_ctdb_base() for real cluster
authorMartin Schwenke <martin@meltin.net>
Mon, 9 Sep 2019 06:58:06 +0000 (16:58 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 17 Sep 2019 04:35:26 +0000 (04:35 +0000)
This has not been needed for some time.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/simple/scripts/local.bash

index 7b4a4f030dff29f1e6cfe89d73f8bd6272beabd2..5ffe2892c5c93b232379e7d33e9a4c69604acde1 100644 (file)
@@ -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