git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ctdb-protocol: Fix marshalling for ctdb_uptime
[vlendec/samba-autobuild/.git]
/
ctdb
/
tests
/
tool
/
ctdb.lvs.001.sh
1
#!/bin/sh
2
3
. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5
define_test "3 nodes, no LVS, all ok"
6
7
setup_lvs <<EOF
8
EOF
9
10
setup_ctdbd <<EOF
11
NODEMAP
12
0 192.168.20.41 0x0 CURRENT RECMASTER
13
1 192.168.20.42 0x0
14
2 192.168.20.43 0x0
15
EOF
16
17
#####
18
19
required_result 255 <<EOF
20
EOF
21
22
simple_test master
23
24
#####
25
26
required_result 0 <<EOF
27
EOF
28
29
simple_test list
30
31
#####
32
33
required_result 0 <<EOF
34
EOF
35
36
simple_test status