ctdb-tests: Make the fake log timestamp string easy to modify
[vlendec/samba-autobuild/.git] / ctdb / tests / takeover / det.003.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "3 nodes, 1 -> all healthy"
6
7 required_result <<EOF
8 ${TEST_DATE_STAMP}Deterministic IPs enabled. Resetting all ip allocations
9 192.168.21.254 0
10 192.168.21.253 1
11 192.168.21.252 2
12 192.168.20.254 0
13 192.168.20.253 1
14 192.168.20.252 2
15 192.168.20.251 0
16 192.168.20.250 1
17 192.168.20.249 2
18 EOF
19
20 simple_test 0,0,0 <<EOF
21 192.168.20.249 1
22 192.168.20.250 1
23 192.168.20.251 1
24 192.168.20.252 1
25 192.168.20.253 1
26 192.168.20.254 1
27 192.168.21.252 1
28 192.168.21.253 1
29 192.168.21.254 1
30 EOF