unbound/testdata/stat_values.tdir/stat_values.post
2020-09-15 12:45:22 +02:00

15 lines
487 B
Plaintext

# #-- stat_values.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
kill $FWD_EXPIRED_PID >/dev/null 2>&1 # This is killed during testing.
# it was stopped with unbound-control (if the test succeeded)
kill $UNBOUND_PID >/dev/null 2>&1
kill $UNBOUND_PID >/dev/null 2>&1
exit 0