# HG changeset patch # User Matt Mackall # Date 2013-07-16 17:44:11 # Node ID ce3d1cf957f8dc70eba57ad978b3f7ecf66fd479 # Parent 3185b347ae9829ea275973f65460539fa01f36f6 run-tests: patch over py2.4 proc.wait() race diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -838,7 +838,11 @@ def run(cmd, wd, options, replacements, cleanup() raise - ret = proc.wait() + try: + ret = proc.wait() + except OSError: + # Py2.4 seems to have a race here + pass if wifexited(ret): ret = os.WEXITSTATUS(ret)