xref: /netbsd-src/external/bsd/unbound/dist/testdata/pylib.tdir/pylib.post (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1# #-- pylib.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
9PRE="../.."
10. ../common.sh
11# if no python; exit
12if grep "define WITH_PYUNBOUND 1" $PRE/config.h; then
13	echo "have python module"
14else
15	echo "no python module"
16	exit 0
17fi
18
19# kill fwder
20kill_pid $FWD_PID
21