git.samba.org
/
obnox
/
ctdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
71506070c09b64f05576780f1d5011e2c65e7a49
[obnox/ctdb.git]
/
tests
/
takeover
/
nondet.001.sh
1
#!/bin/sh
2
3
. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5
define_test "3 nodes, 1 healthy"
6
7
required_result <<EOF
8
192.168.21.254 2
9
192.168.21.253 2
10
192.168.21.252 2
11
192.168.20.254 2
12
192.168.20.253 2
13
192.168.20.252 2
14
192.168.20.251 2
15
192.168.20.250 2
16
192.168.20.249 2
17
EOF
18
19
simple_test 2,2,0 <<EOF
20
192.168.20.249 0
21
192.168.20.250 1
22
192.168.20.251 2
23
192.168.20.252 0
24
192.168.20.253 1
25
192.168.20.254 2
26
192.168.21.252 0
27
192.168.21.253 1
28
192.168.21.254 2
29
EOF