ctdb-tests: Update ctdb stub LVS tests and add some new ones
[Samba.git] / ctdb / tests / tool / stubby.lvs.003.sh
blob6870760c7c087f178c0ef59e3e459ac71a383c65
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, some LVS, all ok"
7 required_result 0 <<EOF
8 0:192.168.20.41
9 2:192.168.20.43
10 EOF
12 simple_test <<EOF
13 NODEMAP
14 0 192.168.20.41 0x0 CURRENT RECMASTER CTDB_CAP_LVS
15 1 192.168.20.42 0x0
16 2 192.168.20.43 0x0 CTDB_CAP_LVS
18 IFACES
19 :Name:LinkStatus:References:
20 :eth2:1:2:
21 :eth1:1:4:
23 VNNMAP
24 654321
28 EOF