wafsamba: fix pidl dependencies to rebuild on pidl changes
[Samba.git] / ctdb / tests / tool / ctdb.lvs.003.sh
blobc3d1f7221f123fecf734a3049f4c41616861f507
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, some LVS, all ok"
7 setup_lvs <<EOF
8 192.168.20.41
9 192.168.20.43
10 EOF
12 setup_ctdbd <<EOF
13 NODEMAP
14 0 192.168.20.41 0x0 CURRENT RECMASTER
15 1 192.168.20.42 0x0
16 2 192.168.20.43 0x0
17 EOF
19 #####
21 required_result 0 <<EOF
23 EOF
25 simple_test master
27 #####
29 required_result 0 <<EOF
30 0 192.168.20.41
31 2 192.168.20.43
32 EOF
34 simple_test list
36 #####
38 required_result 0 <<EOF
39 pnn:0 192.168.20.41 OK (THIS NODE)
40 pnn:2 192.168.20.43 OK
41 EOF
43 simple_test status