xref: /netbsd-src/external/bsd/unbound/dist/testdata/pymod_thread.tdir/pymod_thread.post (revision 82d56013d7b633d116a93943de88e08335357a7c)
1# #-- pymod_thread.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_PYTHONMODULE 1" $PRE/config.h; then
13	echo "have python module"
14else
15	echo "no python module"
16	exit 0
17fi
18
19kill_pid $FWD_PID
20kill_pid $UNBOUND_PID
21exit 0
22