ctdb-tests: Make the fake log timestamp string easy to modify
[vlendec/samba-autobuild/.git] / ctdb / tests / tool / stubby.xpnn.003.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "missing nodes file"
6
7 setup_nodes <<EOF
8 192.168.20.41
9 192.168.20.42
10 192.168.20.43
11 EOF
12
13 rm -f "$CTDB_NODES"
14
15 required_result 255 <<EOF
16 ${TEST_DATE_STAMP}Failed to read nodes file
17 EOF
18
19 simple_test <<EOF
20 NODEMAP
21 0       192.168.20.41   0x0     CURRENT
22 1       192.168.20.42   0x0
23 2       192.168.20.43   0x0
24 EOF