notifyd: Use messaging_register for MSG_SMB_NOTIFY_REC_CHANGE
[Samba.git] / ctdb / tests / eventscripts / 11.natgw.003.sh
blobeb821dca48bd07e6f5a230de6edf2756df216cd9
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "CTDB_NATGW_PUBLIC_IFACE unset, not slave-only"
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 CTDB_NATGW_PUBLIC_IFACE=""
17 required_result 1 "Invalid configuration: CTDB_NATGW_PUBLIC_IFACE not set"
19 for i in "startup" "ipreallocated" ; do
20 simple_test_event "$i"
21 done