1# #-- padding.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_pid `cat unbound2.pid` 14if test -f unbound2.log; then 15 echo ">>> upstream log" 16 cat unbound2.log 17fi 18#kill_pid $UNBOUND_PID 19kill_pid `cat unbound.pid` 20if test -f unbound.log; then 21 echo ">>> unbound log" 22 cat unbound.log 23fi 24