unbound/testdata/fwd_ancil.tdir/fwd_ancil.post
wouter 8ba25b126a tests in tdir format.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4264 be551aaa-1e26-0410-a405-d3ace91eadb9
2017-07-06 13:27:30 +00:00

19 lines
457 B
Plaintext

# #-- fwd_ancil.post --#
# source the master var file when it's there
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
# source the test var file when it's there
[ -f .tpkg.var.test ] && source .tpkg.var.test
#
# do your teardown here
. ../common.sh
if test `hostname`"" = "dicht.nlnetlabs.nl"; then
echo "In jail, no ::1, skip test"
exit 0
fi
kill_pid $FWD_PID
if fgrep "service stopped" unbound.log; then
exit 0
fi
kill_pid $UNBOUND_PID