ctdb-protocol: Fix marshalling for ctdb_uptime
[vlendec/samba-autobuild/.git] / ctdb / tests / tool / ctdb.reloadnodes.011.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "3 nodes, add a node"
6
7 setup_nodes <<EOF
8 192.168.20.41
9 192.168.20.42
10 192.168.20.43
11 192.168.20.44
12 EOF
13
14 setup_ctdbd <<EOF
15 NODEMAP
16 0       192.168.20.41   0x0     CURRENT RECMASTER
17 1       192.168.20.42   0x0
18 2       192.168.20.43   0x0
19 EOF
20
21 required_result 0 <<EOF
22 Node 3 is NEW
23 EOF
24
25 simple_test