unbound/testdata/pylib.tdir/pylib.post

21 lines
434 B
Text
Raw Normal View History

# #-- pylib.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
PRE="../.."
. ../common.sh
# if no python; exit
if grep "define WITH_PYUNBOUND 1" $PRE/config.h; then
echo "have pyunbound"
else
echo "no pyunbound"
exit 0
fi
# kill fwder
kill_pid $FWD_PID