]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - testdata/dnstap_tls_badname.tdir/dnstap_tls_badname.post
Vendor import of Unbound 1.11.0.
[FreeBSD/FreeBSD.git] / testdata / dnstap_tls_badname.tdir / dnstap_tls_badname.post
1 # #-- dnstap_tls_badname.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 if grep "define USE_DNSTAP 1" $PRE/config.h; then echo test enabled; else echo test skipped; exit 0; fi
11 kill_pid $DNSTAP_SOCKET_PID
12 kill_pid $FWD_PID
13 kill $UNBOUND_PID
14 kill $UNBOUND_PID >/dev/null 2>&1
15 cat unbound.log
16 echo "> tap logfiles"
17 cat tap.log
18 cat tap.errlog
19 cat fwd.log
20 exit 0