repo.or.cz
/
samba4-gss.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ctdb-server: Use find_public_ip_vnn() in a couple of extra places
[samba4-gss.git]
/
ctdb
/
tests
/
UNIT
/
tool
/
ctdb.reloadnodes.020.sh
blob
66384c935bb89a159bd1d41c1c54bae6c36041a8
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"3 nodes, delete last, add 2 nodes"
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
192.168.20.45
13
EOF
14
15
setup_ctdbd
<<EOF
16
NODEMAP
17
0 192.168.20.41 0x0 CURRENT RECMASTER
18
1 192.168.20.42 0x0
19
2 192.168.20.43 0x1
20
EOF
21
22
required_result
0
<<EOF
23
Node 2 is DELETED
24
Node 3 is NEW
25
Node 4 is NEW
26
EOF
27
28
simple_test