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-tests: Update ctdb stub LVS tests and add some new ones
[Samba.git]
/
ctdb
/
tests
/
tool
/
stubby.lvs.003.sh
blob
6870760c7c087f178c0ef59e3e459ac71a383c65
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"3 nodes, some LVS, all ok"
6
7
required_result
0
<<EOF
8
0:192.168.20.41
9
2:192.168.20.43
10
EOF
11
12
simple_test
<<EOF
13
NODEMAP
14
0 192.168.20.41 0x0 CURRENT RECMASTER CTDB_CAP_LVS
15
1 192.168.20.42 0x0
16
2 192.168.20.43 0x0 CTDB_CAP_LVS
17
18
IFACES
19
:Name:LinkStatus:References:
20
:eth2:1:2:
21
:eth1:1:4:
22
23
VNNMAP
24
654321
25
0
26
1
27
2
28
EOF