Use previous proven multiprocessing logic as the simplification didn't have the same Ctrl-C handling and may

be subject to race issues, though still don't pass Runner to each.  Still seems performant.
This commit is contained in:
Michael DeHaan
2012-10-26 18:11:38 -04:00
parent 03f303fba3
commit e04dab904a
2 changed files with 37 additions and 11 deletions

View File

@@ -132,7 +132,6 @@ class TestRunner(unittest.TestCase):
result = self._run('command', [ "/usr/bin/this_does_not_exist", "splat" ])
assert 'msg' in result
assert 'failed' in result
assert 'rc' not in result
result = self._run('shell', [ "/bin/echo", "$HOME" ])
assert 'failed' not in result