debug: Make Debug1 static
[Samba.git] / ctdb / tests / takeover / lcp2.020.sh
blobe3fe3c4e405761f80c4253f45b05f3aba34ce3bf
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, all IPs assigned, 2->3 unhealthy, NoIPHostOnAllDisabled on 2"
7 export CTDB_TEST_LOGLEVEL=0
9 required_result <<EOF
10 192.168.21.254 2
11 192.168.21.253 2
12 192.168.21.252 2
13 192.168.20.254 2
14 192.168.20.253 2
15 192.168.20.252 2
16 192.168.20.251 2
17 192.168.20.250 2
18 192.168.20.249 2
19 EOF
21 export CTDB_SET_NoIPHostOnAllDisabled=1,1,0
23 simple_test 2,2,2 <<EOF
24 192.168.21.254 2
25 192.168.21.253 2
26 192.168.21.252 2
27 192.168.20.254 2
28 192.168.20.253 2
29 192.168.20.252 2
30 192.168.20.251 2
31 192.168.20.250 2
32 192.168.20.249 2
33 EOF