xref: /netbsd-src/external/bsd/unbound/dist/testdata/09-unbound-control.tdir/09-unbound-control.post (revision a45db23f655e22f0c2354600d3b3c2cb98abf2dc)
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