summaryrefslogtreecommitdiff
path: root/ctdb/tests/tool/stubby.listnodes.001.sh
blob: 35a0c14b8eb2085b4fabd739c44c075d8af4532a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "missing nodes file"

setup_nodes <<EOF
192.168.20.41
192.168.20.42
192.168.20.43
EOF

rm -f "$CTDB_NODES"

required_result 255 <<EOF
DATE TIME [PID]: Failed to read nodes file
EOF

simple_test <<EOF
EOF