Merge branch 'master' of ctdb into 'master' of samba
[vlendec/samba-autobuild/.git] / ctdb / tests / tool / stubby.lvsmaster.002.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "3 nodes, current disconnected"
6
7 # This isn't very useful, since the stub for capabilities doesn't set LVS :-)
8 required_result 10 <<EOF
9 DATE TIME [PID]: Unable to get nodemap from local node
10 EOF
11
12 simple_test -Y <<EOF
13 NODEMAP
14 0       192.168.20.41   0x1     CURRENT RECMASTER
15 1       192.168.20.42   0x0
16 2       192.168.20.43   0x0
17
18 IFACES
19 :Name:LinkStatus:References:
20 :eth2:1:2:
21 :eth1:1:4:
22
23 VNNMAP
24 654321
25 0
26 1
27 2
28 EOF