loadparm: rename variable for "hosts allow" from hostsallow to hosts_allow
[Samba/wip.git] / ctdb / tests / tool / stubby.nodestatus.005.sh
blobcb532e7c8279af971d44289ebdaf59abfda8173f
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "-n all all, 3 nodes, 1 disconnected"
7 required_result 1 <<EOF
8 Number of nodes:3
9 pnn:0 192.168.20.41 OK (THIS NODE)
10 pnn:1 192.168.20.42 DISCONNECTED|INACTIVE
11 pnn:2 192.168.20.43 OK
12 Number of nodes:3
13 pnn:0 192.168.20.41 OK
14 pnn:1 192.168.20.42 DISCONNECTED|INACTIVE
15 pnn:2 192.168.20.43 OK (THIS NODE)
16 EOF
18 simple_test -n all all <<EOF
19 NODEMAP
20 0 192.168.20.41 0x0
21 1 192.168.20.42 0x1
22 2 192.168.20.43 0x0 CURRENT RECMASTER
24 IFACES
25 :Name:LinkStatus:References:
26 :eth2:1:2:
27 :eth1:1:4:
29 VNNMAP
30 654321
34 EOF