xref: /netbsd-src/external/bsd/unbound/dist/testdata/09-unbound-control.tdir/09-unbound-control.post (revision 0cd9f4ecf44538bbdd5619b5b2081449960ab3e6)
1# #-- 09-unbound-control.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
10# it was stopped with unbound-control (if the test succeeded)
11kill $UNBOUND_PID >/dev/null 2>&1
12kill $UNBOUND_PID >/dev/null 2>&1
13exit 0
14