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
ctdb-daemon: Do not allow database detach if AllowClientDBAttach=1
[Samba.git]
/
ctdb
/
tests
/
tool
/
stubby.xpnn.001.sh
blob
e59e40cbb9ee53bb9caca89b56b821fdd453b67e
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"3 nodes, current is 0"
6
7
setup_nodes
<<EOF
8
192.168.20.41
9
192.168.20.42
10
192.168.20.43
11
EOF
12
13
required_result
0
"PNN:0"
14
15
simple_test
<<EOF
16
NODEMAP
17
0 192.168.20.41 0x0 CURRENT
18
1 192.168.20.42 0x0
19
2 192.168.20.43 0x0
20
EOF