aboutsummaryrefslogtreecommitdiff
path: root/testdata/fwd_ancil.tdir/fwd_ancil.post
blob: c11bd44cd8a06205fe6fc45a48ad8a91bbb01e66 (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 fgrep "service stopped" unbound.log; then
	exit 0
fi
if fgrep "disable interface-automatic" unbound.log; then
	echo "skip test"
	exit 0
fi
kill_pid $UNBOUND_PID