1# #-- dnstap_tls.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 9PRE="../.." 10if grep "define USE_DNSTAP 1" $PRE/config.h; then echo test enabled; else echo test skipped; exit 0; fi 11kill_pid $DNSTAP_SOCKET_PID 12kill_pid $FWD_PID 13kill $UNBOUND_PID 14kill $UNBOUND_PID >/dev/null 2>&1 15cat unbound.log 16echo "> tap logfiles" 17cat tap.log 18cat tap.errlog 19echo "> tap2 logfiles" 20if test -f tap2.log; then cat tap2.log; fi 21if test -f tap2.errlog; then cat tap2.errlog; fi 22cat fwd.log 23exit 0 24