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
CVE-2016-0771: tests/dns: Remove dependencies on env variables
[Samba.git]
/
ctdb
/
tests
/
tool
/
stubby.reloadnodes.015.sh
blob
1bd58fe5e6db22b876ea01cef5d86ed02a66440d
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"3 nodes, delete connected first 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
required_result
1
<<EOF
14
Node 0 is DELETED
15
ERROR: Node 0 is still connected
16
Node 1 is unchanged
17
Node 2 is unchanged
18
ERROR: Nodes will not be reloaded due to previous error
19
EOF
20
21
simple_test
<<EOF
22
NODEMAP
23
0 192.168.20.41 0x0
24
1 192.168.20.42 0x0
25
2 192.168.20.43 0x0 CURRENT RECMASTER
26
27
VNNMAP
28
654321
29
0
30
1
31
2
32
EOF