aboutsummaryrefslogtreecommitdiff
path: root/testdata/fwd_ancil.tdir/fwd_ancil.post
blob: 6bb5f2ecc6fb8c961d7a0359bb8ef8ba400208c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# #-- fwd_ancil.post --#
# source the master var file when it's there
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
# source the test var file when it's there
[ -f .tpkg.var.test ] && source .tpkg.var.test
#
# do your teardown here
. ../common.sh
kill_pid $FWD_PID
if grep -F "service stopped" unbound.log; then
	exit 0
fi
if grep -F "disable interface-automatic" unbound.log; then
	echo "skip test"
	exit 0
fi
kill_pid $UNBOUND_PID