summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/tests/messaging.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cluster/ctdb/tests/messaging.sh')
-rwxr-xr-xsource4/cluster/ctdb/tests/messaging.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/cluster/ctdb/tests/messaging.sh b/source4/cluster/ctdb/tests/messaging.sh
new file mode 100755
index 0000000000..179a2bef88
--- /dev/null
+++ b/source4/cluster/ctdb/tests/messaging.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+killall -q ctdb_messaging
+
+echo "Trying 2 nodes"
+bin/ctdb_messaging --nlist tests/nodes.txt --listen 127.0.0.2:9001 $* &
+bin/ctdb_messaging --nlist tests/nodes.txt --listen 127.0.0.1:9001 $*
+
+killall -q ctdb_messaging