1*d0eba39bSchristos# #-- tcp_reuse.post --# 2*d0eba39bSchristos# source the master var file when it's there 3*d0eba39bSchristos[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master 4*d0eba39bSchristos# source the test var file when it's there 5*d0eba39bSchristos[ -f .tpkg.var.test ] && source .tpkg.var.test 6*d0eba39bSchristos# 7*d0eba39bSchristos# do your teardown here 8*d0eba39bSchristos. ../common.sh 9*d0eba39bSchristoskill_pid `cat unbound2.pid` 10*d0eba39bSchristosif test -f unbound2.log; then 11*d0eba39bSchristos echo ">>> upstream log" 12*d0eba39bSchristos cat unbound2.log 13*d0eba39bSchristosfi 14*d0eba39bSchristos#kill_pid $UNBOUND_PID 15*d0eba39bSchristoskill_pid `cat unbound.pid` 16*d0eba39bSchristosif test -f unbound.log; then 17*d0eba39bSchristos echo ">>> unbound log" 18*d0eba39bSchristos cat unbound.log 19*d0eba39bSchristosfi 20