ctdb-tests: Update ctdb stub LVS tests and add some new ones
[Samba.git] / ctdb / tests / tool / stubby.lvsmaster.007.sh
blob3057706ec0dd00cd4acafcabf4a6d9558151ffdd
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, all LVS, all nodes disabled"
7 required_result 255 <<EOF
8 There is no LVS master
9 EOF
11 simple_test <<EOF
12 NODEMAP
13 0 192.168.20.41 0x4 CURRENT RECMASTER CTDB_CAP_LVS
14 1 192.168.20.42 0x4 CTDB_CAP_LVS
15 2 192.168.20.43 0x4 CTDB_CAP_LVS
17 IFACES
18 :Name:LinkStatus:References:
19 :eth2:1:2:
20 :eth1:1:4:
22 VNNMAP
23 654321
27 EOF