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
smbd: Use mutex instead of fcntl lock for echohandler coordination
[Samba.git]
/
ctdb
/
tests
/
tool
/
stubby.getcapabilities.001.sh
blob
df4a659008f158b68e4f023e87a5ec2c3689ff5f
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"3 nodes, all ok"
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 0x0
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