diff tests/run-tests.py @ 19437:6857f554ae0e

run-tests: reap timed-out zombies
author Brendan Cully <brendan@kublai.com>
date Thu, 18 Jul 2013 09:39:01 -0700
parents 4f32747879d1
children e8bcd7b0a653
line wrap: on
line diff
--- a/tests/run-tests.py	Fri Jul 12 01:58:48 2013 +0400
+++ 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