xref: /netbsd-src/external/bsd/unbound/dist/testdata/fwd_ancil.tdir/fwd_ancil.post (revision ae87de8892f277bece3527c15b186ebcfa188227)
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
9if test `hostname`"" = "dicht.nlnetlabs.nl"; then
10	echo "In jail, no ::1, skip test"
11	exit 0
12fi
13
14kill_pid $FWD_PID
15if fgrep "service stopped" unbound.log; then
16	exit 0
17fi
18if fgrep "disable interface-automatic" unbound.log; then
19	echo "skip test"
20	exit 0
21fi
22kill_pid $UNBOUND_PID
23