run-tests: reap timed-out zombies stable
authorBrendan Cully <brendan@kublai.com>
Thu, 18 Jul 2013 09:39:01 -0700
branchstable
changeset 1286 545a2ae04b54
parent 1285 61dfbdf6d67d
child 1287 4b788bb2993d
run-tests: reap timed-out zombies [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Sat Jul 13 23:58:01 2013 +0200
+++ b/tests/run-tests.py	Thu Jul 18 09:39:01 2013 -0700
@@ -88,6 +88,7 @@
             p.timeout = True
             if p.returncode is None:
                 terminate(p)
+                p.wait()
         threading.Thread(target=t).start()
 
     return p