repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
auth/common: add support for auth4_ctx->check_ntlm_password_send/recv()
[Samba.git]
/
ctdb
/
tests
/
tool
/
ctdb.reloadnodes.012.sh
blob
c3ca0fe39113eea53d978cd57487a635620c0f93
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"3 nodes, delete last node"
6
7
setup_nodes
<<EOF
8
192.168.20.41
9
192.168.20.42
10
#192.168.20.43
11
EOF
12
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 0x1
18
EOF
19
20
required_result
0
<<EOF
21
Node 2 is DELETED
22
EOF
23
24
simple_test