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-scripts: Only write to /proc route flush files if they exist
[Samba.git]
/
ctdb
/
tests
/
takeover
/
lcp2.011.sh
blob
f752aa345e38ba955a9d05b6d402093c0f04c880
1
#!/bin/sh
2
3
.
"
${TEST_SCRIPTS_DIR}
/unit.sh"
4
5
define_test
"2 disjoint groups of nodes/addresses, continue a stopped node"
6
7
# Another LCP2 1.0 bug
8
9
export
CTDB_TEST_LOGLEVEL
=
0
10
11
required_result
<<EOF
12
10.11.19.46 3
13
10.11.19.45 3
14
10.11.19.44 1
15
10.11.18.46 1
16
10.11.18.45 3
17
10.11.18.44 1
18
10.11.17.46 3
19
10.11.17.45 3
20
10.11.17.44 1
21
10.11.16.46 1
22
10.11.16.45 3
23
10.11.16.44 1
24
9.11.136.46 2
25
9.11.136.45 0
26
9.11.136.44 2
27
EOF
28
29
simple_test
0
,
0
,
0
,
0
<<EOF
30
9.11.136.44 2 0,2
31
9.11.136.45 2 0,2
32
9.11.136.46 2 0,2
33
10.11.16.44 1 1,3
34
10.11.16.45 3 1,3
35
10.11.16.46 1 1,3
36
10.11.17.44 1 1,3
37
10.11.17.45 3 1,3
38
10.11.17.46 3 1,3
39
10.11.18.44 1 1,3
40
10.11.18.45 3 1,3
41
10.11.18.46 1 1,3
42
10.11.19.44 1 1,3
43
10.11.19.45 3 1,3
44
10.11.19.46 3 1,3
45
EOF