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