wafsamba: fix pidl dependencies to rebuild on pidl changes
[Samba.git] / ctdb / tests / takeover / lcp2.024.sh
blobd297084adb463b4577edd68d536550db5515b025
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, no IPs assigned, all healthy, all in STARTUP runstate"
7 export CTDB_TEST_LOGLEVEL=NOTICE
9 required_result <<EOF
10 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.21.254
11 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.21.253
12 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.21.252
13 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.20.254
14 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.20.253
15 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.20.252
16 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.20.251
17 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.20.250
18 ${TEST_DATE_STAMP}Failed to find node to cover ip 192.168.20.249
19 192.168.21.254 -1
20 192.168.21.253 -1
21 192.168.21.252 -1
22 192.168.20.254 -1
23 192.168.20.253 -1
24 192.168.20.252 -1
25 192.168.20.251 -1
26 192.168.20.250 -1
27 192.168.20.249 -1
28 EOF
30 export CTDB_TEST_RUNSTATE=4,4,4
32 simple_test 0,0,0 <<EOF
33 192.168.21.254 -1
34 192.168.21.253 -1
35 192.168.21.252 -1
36 192.168.20.254 -1
37 192.168.20.253 -1
38 192.168.20.252 -1
39 192.168.20.251 -1
40 192.168.20.250 -1
41 192.168.20.249 -1
42 EOF