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
s3-winbind rename winbindd_update_rodc_dns to be for more generic irpc
[Samba.git]
/
ctdb
/
tests
/
tool
/
stubby.nodestatus.001.sh
blob
6392b8d1eccff0217198ad1edd008f07e433db02
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"all, 3 nodes, all OK"
6
7
required_result
0
<<EOF
8
Number of nodes:3
9
pnn:0 192.168.20.41 OK
10
pnn:1 192.168.20.42 OK
11
pnn:2 192.168.20.43 OK (THIS NODE)
12
EOF
13
14
simple_test all
<<EOF
15
NODEMAP
16
0 192.168.20.41 0x0
17
1 192.168.20.42 0x0
18
2 192.168.20.43 0x0 CURRENT RECMASTER
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