NetBSD/external/bsd/unbound/dist/testdata/dnstap_tls.tdir/dnstap_tls.post

23 lines
568 B
Plaintext

# #-- dnstap_tls.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
PRE="../.."
kill_pid $DNSTAP_SOCKET_PID
kill_pid $FWD_PID
kill $UNBOUND_PID
kill $UNBOUND_PID >/dev/null 2>&1
cat unbound.log
echo "> tap logfiles"
cat tap.log
cat tap.errlog
echo "> tap2 logfiles"
if test -f tap2.log; then cat tap2.log; fi
if test -f tap2.errlog; then cat tap2.errlog; fi
cat fwd.log
exit 0