ctdb-tests: 11.natgw event script setup modularisation
[metze/samba/wip.git] / ctdb / tests / eventscripts / 11.natgw.051.sh
1 #!/bin/sh
2
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
4
5 define_test "Monitor CTDB_NATGW_PUBLIC_IFACE, slave, up"
6
7 setup
8
9 setup_ctdb_natgw <<EOF
10 192.168.1.21
11 192.168.1.22 master
12 192.168.1.23
13 192.168.1.24
14 EOF
15
16 ok_null
17 simple_test_event "monitor"