lib: Remove unused functions
[Samba.git] / ctdb / tests / tool / stubby.natgwlist.009.sh
blobd80297145652d8353f9d284ab71857ea3f9a1680
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, all in natgw group, 1 actual time-out"
7 setup_natgw <<EOF
8 192.168.20.41
9 192.168.20.42
10 192.168.20.43
11 EOF
13 required_result 255 <<EOF
14 ${TEST_DATE_STAMP}__LOCATION__ control timed out. reqid:1234567890 opcode:80 dstnode:0
15 ${TEST_DATE_STAMP}__LOCATION__ ctdb_control_recv failed
16 ${TEST_DATE_STAMP}__LOCATION__ ctdb_ctrl_getcapabilities_recv failed
17 ${TEST_DATE_STAMP}Unable to get capabilities from node 0
18 EOF
20 simple_test <<EOF
21 NODEMAP
22 0 192.168.20.41 0x0 TIMEOUT
23 1 192.168.20.42 0x0 CURRENT RECMASTER
24 2 192.168.20.43 0x0
26 VNNMAP
27 654321
32 IFACES
33 :Name:LinkStatus:References:
34 :eth2:1:2:
35 :eth1:1:4:
36 EOF