changeset 19437:6857f554ae0e

run-tests: reap timed-out zombies
author Brendan Cully <brendan@kublai.com>
date Thu, 18 Jul 2013 09:39:01 -0700
parents f5abfa08fb09
children e8bcd7b0a653
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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