]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
restore the test script that was updated by mistake in the previous checkin
authorRonnie sahlberg <ronniesahlberg@gmail.com>
Tue, 10 Apr 2007 02:23:10 +0000 (12:23 +1000)
committerRonnie sahlberg <ronniesahlberg@gmail.com>
Tue, 10 Apr 2007 02:23:10 +0000 (12:23 +1000)
(This used to be ctdb commit 5e2e6a5ce439762876f2aa054fdd0d4bb54c403c)

ctdb/tests/test.sh

index 58070705399f92267e1b15725568158008fd44c2..6197ce9616d414a8a4dc3235330aecfd450332bb 100755 (executable)
@@ -2,14 +2,6 @@
 
 killall -q ctdb_test
 
-echo "Trying 2 nodes in daemon mode"
-bin/ctdb_test --nlist tests/nodes.txt --listen 127.0.0.1:9001 --daemon &
-bin/ctdb_test --nlist tests/nodes.txt --listen 127.0.0.2:9001 --daemon &
-
-sleep 30000
-killall ctdb_test
-exit
-
 
 echo "Trying 2 nodes"
 bin/ctdb_test --nlist tests/nodes.txt --listen 127.0.0.1:9001 &
@@ -27,6 +19,13 @@ sleep 3
 
 killall ctdb_test
 
+echo "Trying 2 nodes in daemon mode"
+bin/ctdb_test --nlist tests/nodes.txt --listen 127.0.0.1:9001 --daemon &
+bin/ctdb_test --nlist tests/nodes.txt --listen 127.0.0.2:9001 --daemon &
+
+sleep 3
+killall ctdb_test
+
 echo "Trying 4 nodes in daemon mode"
 bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.1:9001 --daemon &
 bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.2:9001 --daemon &