ctdb-ipalloc: Pass extra data to IP allocation state initialisation
[vlendec/samba-autobuild/.git] / ctdb / tests / tool / ctdb.reloadnodes.022.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "3 nodes, delete middle, add 2 nodes, less debug"
6
7 CTDB_DEBUGLEVEL=0
8
9 setup_nodes <<EOF
10 192.168.20.41
11 #192.168.20.42
12 192.168.20.43
13 192.168.20.44
14 192.168.20.45
15 EOF
16
17 ok_null
18
19 simple_test <<EOF
20 NODEMAP
21 0       192.168.20.41   0x0     CURRENT RECMASTER
22 1       192.168.20.42   0x1
23 2       192.168.20.43   0x0
24
25 VNNMAP
26 654321
27 0
28 2
29 EOF