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