xref: /netbsd-src/external/bsd/unbound/dist/testdata/ctrl_itr.tdir/ctrl_itr.post (revision 782713e6c126f1866c6d9cfdee4ceb49483b5828)
1# #-- ctrl_itr.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