git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
00b72ed412ee9f39a42174889eccf0588c1da67e
[gd/samba-autobuild/.git]
/
ctdb
/
tests
/
eventscripts
/
11.natgw.053.sh
1
#!/bin/sh
2
3
. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5
define_test "Monitor CTDB_NATGW_PUBLIC_IFACE, master, up"
6
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
14
15
ctdb setnatgwstate on
16
17
ok_null
18
simple_test_event "monitor"