ldb: Release ldb 1.3.0
[Samba.git] / ctdb / tests / takeover / lcp2.009.sh
blob1b0c350ca98287de63df6073f2495fa95963fd30
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, 3 healthy -> all disconnected"
7 export CTDB_TEST_LOGLEVEL=ERR
9 required_result <<EOF
10 192.168.21.254 -1
11 192.168.21.253 -1
12 192.168.21.252 -1
13 192.168.20.254 -1
14 192.168.20.253 -1
15 192.168.20.252 -1
16 192.168.20.251 -1
17 192.168.20.250 -1
18 192.168.20.249 -1
19 EOF
21 simple_test 1,1,1 <<EOF
22 192.168.20.249 0
23 192.168.20.250 1
24 192.168.20.251 2
25 192.168.20.252 0
26 192.168.20.253 1
27 192.168.20.254 2
28 192.168.21.252 0
29 192.168.21.253 1
30 192.168.21.254 2
31 EOF