xref: /netbsd-src/external/bsd/unbound/dist/testdata/fwd_ancil.tdir/fwd_ancil.post (revision 32d1c65c71fbdb65a012e8392a62a757dd6853e9)
1# #-- fwd_ancil.post --#
2# source the master var file when it's there
3[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
4# source the test var file when it's there
5[ -f .tpkg.var.test ] && source .tpkg.var.test
6#
7# do your teardown here
8. ../common.sh
9kill_pid $FWD_PID
10if fgrep "service stopped" unbound.log; then
11	exit 0
12fi
13if fgrep "disable interface-automatic" unbound.log; then
14	echo "skip test"
15	exit 0
16fi
17kill_pid $UNBOUND_PID
18