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
wafsamba: fix pidl dependencies to rebuild on pidl changes
[Samba.git]
/
ctdb
/
tests
/
takeover
/
lcp2.013.sh
blob
091a23538fa46ec2f16341a4a13fd1a6fdefae3d
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"NoIPTakeover: nodes don't lose IPs"
6
7
export
CTDB_TEST_LOGLEVEL
=
ERR
8
9
required_result
<<EOF
10
192.168.21.254 2
11
192.168.21.253 1
12
192.168.21.252 0
13
192.168.20.254 2
14
192.168.20.253 1
15
192.168.20.252 0
16
192.168.20.251 2
17
192.168.20.250 1
18
192.168.20.249 0
19
EOF
20
21
export
CTDB_SET_NoIPTakeover
=
1
22
23
simple_test
0
,
0
,
0
<<EOF
24
192.168.20.249 0
25
192.168.20.250 1
26
192.168.20.251 2
27
192.168.20.252 0
28
192.168.20.253 1
29
192.168.20.254 2
30
192.168.21.252 0
31
192.168.21.253 1
32
192.168.21.254 2
33
EOF