# HG changeset patch # User Matt Mackall # Date 1373996651 18000 # Node ID ce3d1cf957f8dc70eba57ad978b3f7ecf66fd479 # Parent 3185b347ae9829ea275973f65460539fa01f36f6 run-tests: patch over py2.4 proc.wait() race diff -r 3185b347ae98 -r ce3d1cf957f8 tests/run-tests.py --- a/tests/run-tests.py Tue Jul 16 11:53:53 2013 -0500 +++ b/tests/run-tests.py Tue Jul 16 12:44:11 2013 -0500 @@ -838,7 +838,11 @@ 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)