8ba25b126a
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4264 be551aaa-1e26-0410-a405-d3ace91eadb9
21 lines
489 B
Plaintext
21 lines
489 B
Plaintext
# #-- fwd_three_service.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 fwder
|
|
kill_pid $FWD_PID
|
|
|
|
# find all extra forked testns and kill them.
|
|
pidlist=`fgrep "forked pid:" fwd.log | sed -e 's/forked pid: //'`
|
|
for p in $pidlist; do
|
|
kill_pid $p
|
|
done
|
|
|
|
# kill unbound
|
|
kill_pid $UNBOUND_PID
|