s4: COM: Remove talloc_autofree_context() from (unused) COM code.
[Samba.git] / ctdb / tests / tool / ctdb.lvs.002.sh
blob5344b166a4e17299e66d802d5e116bb6a4d2abac
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, all LVS, all ok"
7 setup_lvs <<EOF
8 192.168.20.41
9 192.168.20.42
10 192.168.20.43
11 EOF
13 setup_ctdbd <<EOF
14 NODEMAP
15 0 192.168.20.41 0x0 CURRENT RECMASTER
16 1 192.168.20.42 0x0
17 2 192.168.20.43 0x0
18 EOF
20 #####
22 required_result 0 <<EOF
24 EOF
26 simple_test master
28 #####
30 required_result 0 <<EOF
31 0 192.168.20.41
32 1 192.168.20.42
33 2 192.168.20.43
34 EOF
36 simple_test list
38 #####
40 required_result 0 <<EOF
41 pnn:0 192.168.20.41 OK (THIS NODE)
42 pnn:1 192.168.20.42 OK
43 pnn:2 192.168.20.43 OK
44 EOF
46 simple_test status