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-utils: Update Nagios code to use ctdb -X
[Samba.git]
/
ctdb
/
tests
/
tool
/
stubby.getcapabilities.002.sh
blob
9a37c4a93ec378dd3b866ed4e334208f8e525154
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"3 nodes, 1 disconnected"
6
7
required_result
0
<<EOF
8
RECMASTER: YES
9
LMASTER: YES
10
LVS: NO
11
NATGW: YES
12
EOF
13
14
simple_test
<<EOF
15
NODEMAP
16
0 192.168.20.41 0x0 CURRENT RECMASTER
17
1 192.168.20.42 0x1
18
2 192.168.20.43 0x0
19
20
IFACES
21
:Name:LinkStatus:References:
22
:eth2:1:2:
23
:eth1:1:4:
24
25
VNNMAP
26
654321
27
0
28
1
29
2
30
EOF