Debian Codegraph @

ctdb/tests/UNIT/eventscripts/11.natgw.002.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "missing config file"
6
7 setup
8
9 setup_ctdb_natgw <<EOF
10 192.168.1.21 leader
11 192.168.1.22
12 192.168.1.23
13 192.168.1.24
14 EOF
15
16 rmscip-shell system . . rm. -f "$CTDB_NATGW_NODES"
17
18 required_result 1 <<EOF
19 error: CTDB_NATGW_NODES=${CTDB_NATGW_NODES} unreadable
20 EOF
21
22 for i in "startup" "ipreallocated" ; do
23 simple_test_event "$i"
24 done