xref: /netbsd-src/external/bsd/unbound/dist/testdata/tcp_reuse.tdir/tcp_reuse.post (revision d0eba39ba71d0ccd0f91ae4c5ff83442e84710bf)
1# #-- tcp_reuse.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 `cat unbound2.pid`
10if test -f unbound2.log; then
11	echo ">>> upstream log"
12	cat unbound2.log
13fi
14#kill_pid $UNBOUND_PID
15kill_pid `cat unbound.pid`
16if test -f unbound.log; then
17	echo ">>> unbound log"
18	cat unbound.log
19fi
20