mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
1f44ccb569
(This used to be ctdb commit 982468d0770684ec18cf95e3f254250debf4fd4c)
19 lines
507 B
Bash
Executable File
19 lines
507 B
Bash
Executable File
#!/bin/sh
|
|
|
|
killall -q ctdb_test
|
|
|
|
echo "Trying 2 nodes"
|
|
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
|
|
|
|
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
|