libgpo: add gp_inifile_init_context_direct()
[Samba.git] / ctdb / tests / tool / ctdb.reloadnodes.017.sh
blobb9a969410f67ebbe3ffbe38e5f31892c126a87a7
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, delete connected middle node"
7 setup_nodes <<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 required_result 1 <<EOF
21 Node 1 is DELETED
22 ERROR: Node 1 is still connected
23 ERROR: Nodes will not be reloaded due to previous error
24 EOF
26 simple_test