ctdb-tests: Make the fake log timestamp string easy to modify
[Samba.git] / ctdb / tests / tool / stubby.listnodes.001.sh
blobf2eac02643c0cc763361a130cf287b77d72dddba
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "missing nodes file"
7 setup_nodes <<EOF
8 192.168.20.41
9 192.168.20.42
10 192.168.20.43
11 EOF
13 rm -f "$CTDB_NODES"
15 required_result 255 <<EOF
16 ${TEST_DATE_STAMP}Failed to read nodes file
17 EOF
19 simple_test <<EOF
20 EOF