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
lib: strings: Simplify strcasecmp
[Samba.git]
/
ctdb
/
tests
/
takeover
/
lcp2.028.sh
blob
60d22d9417497aa3f38778868cab5b413ca8ddfc
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"4 nodes, all healthy/assigned, stays unbalanced"
6
7
export
CTDB_TEST_LOGLEVEL
=
3
8
9
required_result
<<EOF
10
130.216.30.181 0
11
130.216.30.180 1
12
130.216.30.179 2
13
130.216.30.178 3
14
130.216.30.177 0
15
130.216.30.176 1
16
130.216.30.175 0
17
130.216.30.174 1
18
130.216.30.173 0
19
130.216.30.172 3
20
130.216.30.171 1
21
130.216.30.170 3
22
10.19.99.253 0
23
10.19.99.252 1
24
10.19.99.251 0
25
10.19.99.250 3
26
EOF
27
28
simple_test
0
,
0
,
0
,
0
<<EOF
29
130.216.30.181 0
30
130.216.30.180 1
31
130.216.30.179 2
32
130.216.30.178 3
33
130.216.30.177 0
34
130.216.30.176 1
35
130.216.30.175 0
36
130.216.30.174 1
37
130.216.30.173 0
38
130.216.30.172 3
39
130.216.30.171 1
40
130.216.30.170 3
41
10.19.99.253 0
42
10.19.99.252 1
43
10.19.99.251 0
44
10.19.99.250 3
45
EOF