summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/tests/start_daemons.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cluster/ctdb/tests/start_daemons.sh')
-rwxr-xr-xsource4/cluster/ctdb/tests/start_daemons.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/source4/cluster/ctdb/tests/start_daemons.sh b/source4/cluster/ctdb/tests/start_daemons.sh
deleted file mode 100755
index d3c99d075a..0000000000
--- a/source4/cluster/ctdb/tests/start_daemons.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-NUMNODES="$1"
-NODES=$2
-shift
-shift
-
-killall -q ctdbd
-
-CTDB_OPTIONS="--reclock=rec.lock --nlist $NODES --event-script=tests/events --logfile=- --dbdir=test.db $*"
-if [ `id -u` -eq 0 ]; then
- CTDB_OPTIONS="$CTDB_OPTIONS --public-addresses=tests/public_addresses --public-interface=lo"
-fi
-
-echo "Starting $NUMNODES ctdb daemons"
-for i in `seq 1 $NUMNODES`; do
- $VALGRIND bin/ctdbd --socket=sock.$i $CTDB_OPTIONS || exit 1
-done
-ln -sf $PWD/sock.1 /tmp/ctdb.socket || exit 1
-
-while bin/ctdb status | grep RECOVERY > /dev/null; do
- echo "`date` Waiting for recovery"
- sleep 1;
-done
-
-echo "$NUMNODES daemons started"
-
-exit 0