summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/test.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-11-28 17:56:10 +1100
committerAndrew Tridgell <tridge@samba.org>2006-11-28 17:56:10 +1100
commitfdb317facfdb60c87695b557a4680401c210031a (patch)
treecbd2b28aab25f51704605d90a00bd466b2b8faf9 /ctdb/tests/test.sh
parent5d0ba69e06d2f37788697c3b7c39287334d2fa22 (diff)
downloadsamba-fdb317facfdb60c87695b557a4680401c210031a.tar.gz
samba-fdb317facfdb60c87695b557a4680401c210031a.tar.xz
samba-fdb317facfdb60c87695b557a4680401c210031a.zip
- added simple (fake) vnn system
- split up ctdb layer code into 3 modules - added a simple test suite - added packet structures for ctdb_call - switched to an array for ctdb_node to make vnn lookup easy and fast (This used to be ctdb commit 8a17460a816a5970f2df8244a06aec55d814f186)
Diffstat (limited to 'ctdb/tests/test.sh')
-rwxr-xr-xctdb/tests/test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/ctdb/tests/test.sh b/ctdb/tests/test.sh
new file mode 100755
index 0000000000..0aa93fbdbd
--- /dev/null
+++ b/ctdb/tests/test.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+killall -q ctdb_test
+
+bin/ctdb_test --nlist nodes.txt --listen 127.0.0.1:9001 &
+bin/ctdb_test --nlist nodes.txt --listen 127.0.0.2:9001 &
+
+sleep 3
+killall ctdb_test