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
docs: fix type for client ldap sasl wrapping parameter
[Samba.git]
/
ctdb
/
tests
/
takeover
/
lcp2.015.sh
blob
a2569e05b23ae3130a73b3907455d65261b83165
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"3 nodes, all IPs assigned, all unhealthy"
6
7
export
CTDB_TEST_LOGLEVEL
=
0
8
9
required_result
<<EOF
10
192.168.21.254 2
11
192.168.21.253 2
12
192.168.21.252 2
13
192.168.20.254 1
14
192.168.20.253 1
15
192.168.20.252 1
16
192.168.20.251 0
17
192.168.20.250 0
18
192.168.20.249 0
19
EOF
20
21
simple_test
2
,
2
,
2
<<EOF
22
192.168.21.254 2
23
192.168.21.253 2
24
192.168.21.252 2
25
192.168.20.254 1
26
192.168.20.253 1
27
192.168.20.252 1
28
192.168.20.251 0
29
192.168.20.250 0
30
192.168.20.249 0
31
EOF