summaryrefslogtreecommitdiff
path: root/testdata/pymod_thread.tdir/pymod_thread.post
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/pymod_thread.tdir/pymod_thread.post')
-rw-r--r--testdata/pymod_thread.tdir/pymod_thread.post21
1 files changed, 21 insertions, 0 deletions
diff --git a/testdata/pymod_thread.tdir/pymod_thread.post b/testdata/pymod_thread.tdir/pymod_thread.post
new file mode 100644
index 000000000000..e9b307548ba7
--- /dev/null
+++ b/testdata/pymod_thread.tdir/pymod_thread.post
@@ -0,0 +1,21 @@
+# #-- pymod_thread.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_PYTHONMODULE 1" $PRE/config.h; then
+ echo "have python module"
+else
+ echo "no python module"
+ exit 0
+fi
+
+kill_pid $FWD_PID
+kill_pid $UNBOUND_PID
+exit 0