1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Ronnie sahlberg 1f3f0ae56d restore the test script that was updated by mistake in the previous checkin
(This used to be ctdb commit 5e2e6a5ce439762876f2aa054fdd0d4bb54c403c)
2007-04-10 12:23:10 +10:00

36 lines
1.1 KiB
Bash
Executable File

#!/bin/sh
killall -q ctdb_test
echo "Trying 2 nodes"
bin/ctdb_test --nlist tests/nodes.txt --listen 127.0.0.1:9001 &
bin/ctdb_test --nlist tests/nodes.txt --listen 127.0.0.2:9001 &
sleep 3
killall ctdb_test
echo "Trying 4 nodes"
bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.1:9001 &
bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.2:9001 &
bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.3:9001 &
bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.4:9001 &
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 &
bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.3:9001 --daemon &
bin/ctdb_test --nlist tests/4nodes.txt --listen 127.0.0.4:9001 --daemon &
sleep 3
killall ctdb_test