diff options
Diffstat (limited to 'testdata/pylib.tdir/pylib.post')
-rw-r--r-- | testdata/pylib.tdir/pylib.post | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testdata/pylib.tdir/pylib.post b/testdata/pylib.tdir/pylib.post new file mode 100644 index 000000000000..26db7e80eee9 --- /dev/null +++ b/testdata/pylib.tdir/pylib.post @@ -0,0 +1,20 @@ +# #-- 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 python module" +else + echo "no python module" + exit 0 +fi + +# kill fwder +kill_pid $FWD_PID |