loadparm: rename variable for "hosts allow" from hostsallow to hosts_allow
[Samba/wip.git] / ctdb / tests / takeover / lcp2.017.sh
blob07b22fb9f99e9854ca620b22070d682c85075b48
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, no IPs assigned, all unhealthy, NoIPHostOnAllDisabled"
7 export CTDB_TEST_LOGLEVEL=0
8 export CTDB_SET_NoIPHostOnAllDisabled=1
10 required_result <<EOF
11 192.168.21.254 -1
12 192.168.21.253 -1
13 192.168.21.252 -1
14 192.168.20.254 -1
15 192.168.20.253 -1
16 192.168.20.252 -1
17 192.168.20.251 -1
18 192.168.20.250 -1
19 192.168.20.249 -1
20 EOF
22 simple_test 2,2,2 <<EOF
23 192.168.21.254 -1
24 192.168.21.253 -1
25 192.168.21.252 -1
26 192.168.20.254 -1
27 192.168.20.253 -1
28 192.168.20.252 -1
29 192.168.20.251 -1
30 192.168.20.250 -1
31 192.168.20.249 -1
32 EOF