loadparm: rename variable for "hosts allow" from hostsallow to hosts_allow
[Samba/wip.git] / ctdb / tests / tool / stubby.nodestatus.004.sh
blobbc9890590c93c3f17d08c6cadd16c27a6add1dfd
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "-n all, 3 nodes, 1 disconnected"
7 # -n all asks each node for the node status and
8 # thus reports THIS NODE for each node
10 required_result 0 <<EOF
11 pnn:0 192.168.20.41 OK (THIS NODE)
12 pnn:2 192.168.20.43 OK (THIS NODE)
13 EOF
15 simple_test -n all <<EOF
16 NODEMAP
17 0 192.168.20.41 0x0
18 1 192.168.20.42 0x1
19 2 192.168.20.43 0x0 CURRENT RECMASTER
21 IFACES
22 :Name:LinkStatus:References:
23 :eth2:1:2:
24 :eth1:1:4:
26 VNNMAP
27 654321
31 EOF