notifyd: Use messaging_register for MSG_SMB_NOTIFY_REC_CHANGE
[Samba.git] / ctdb / tests / eventscripts / 11.natgw.002.sh
blobc9054068df417db6831276648737714766593a1f
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "missing config file"
7 setup_ctdb
8 setup_ctdb_natgw <<EOF
9 192.168.1.21 master
10 192.168.1.22
11 192.168.1.23
12 192.168.1.24
13 EOF
15 rm -f "$CTDB_NATGW_NODES"
17 required_result 1 <<EOF
18 error: CTDB_NATGW_NODES=${CTDB_NATGW_NODES} unreadable
19 EOF
21 for i in "startup" "ipreallocated" ; do
22 simple_test_event "$i"
23 done