ctdb-utils: Update Nagios code to use ctdb -X
[Samba.git] / ctdb / tests / tool / stubby.getcapabilities.002.sh
blob9a37c4a93ec378dd3b866ed4e334208f8e525154
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, 1 disconnected"
7 required_result 0 <<EOF
8 RECMASTER: YES
9 LMASTER: YES
10 LVS: NO
11 NATGW: YES
12 EOF
14 simple_test <<EOF
15 NODEMAP
16 0 192.168.20.41 0x0 CURRENT RECMASTER
17 1 192.168.20.42 0x1
18 2 192.168.20.43 0x0
20 IFACES
21 :Name:LinkStatus:References:
22 :eth2:1:2:
23 :eth1:1:4:
25 VNNMAP
26 654321
30 EOF