summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2018-06-20 19:06:40 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2018-06-20 19:06:40 (GMT)
commitc911dc937fb03f387cc7ecd74b04a2e60ddb53b5 (patch)
treece9c2c19d32f127bc86fa36c315d082e9e948f9c /tests
parent645241afc13d0aa6272925a04c3afa93ca93ef19 (diff)
downloadtcl-c911dc937fb03f387cc7ecd74b04a2e60ddb53b5.zip
tcl-c911dc937fb03f387cc7ecd74b04a2e60ddb53b5.tar.gz
tcl-c911dc937fb03f387cc7ecd74b04a2e60ddb53b5.tar.bz2
Add valgrind suppression for dlopen and ensure that processes are reaped in
http11.test.
Diffstat (limited to 'tests')
-rw-r--r--tests/http11.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/http11.test b/tests/http11.test
index c9ded0b..2e50837 100644
--- a/tests/http11.test
+++ b/tests/http11.test
@@ -666,6 +666,13 @@ test http11-4.3 "normal post request, check channel query length" -setup {
# -------------------------------------------------------------------------
+# Eliminate valgrind "still reachable" reports on outstanding "Detached"
+# structures in the detached list which stem from PipeClose2Proc not waiting
+# around for background processes to complete, meaning that previous calls to
+# Tcl_ReapDetachedProcs might not have had a chance to reap all processes.
+after 10
+exec [info nameofexecutable] << {}
+
foreach p {create_httpd httpd_read halt_httpd meta check_crc} {
if {[llength [info proc $p]]} {rename $p {}}
}