Index: bin/cros_run_parallel_vm_tests.py |
diff --git a/bin/cros_run_parallel_vm_tests.py b/bin/cros_run_parallel_vm_tests.py |
index b6403bfe65b3905e36ebbbf2c777c02524e60a90..0c0b08b88ac0e6031d20cf0e00f967752bfa6a6d 100755 |
--- a/bin/cros_run_parallel_vm_tests.py |
+++ b/bin/cros_run_parallel_vm_tests.py |
@@ -64,10 +64,6 @@ class ParallelTestRunner(object): |
""" |
ssh_port = self._base_ssh_port |
spawned_tests = [] |
- # Test runs shouldn't need anything from stdin. However, it seems that |
- # running with stdin leaves the terminal in a bad state so redirect from |
- # /dev/null. |
- dev_null = open('/dev/null') |
for test in self._tests: |
args = [ os.path.join(os.path.dirname(__file__), 'cros_run_vm_test'), |
'--snapshot', # The image is shared so don't modify it. |
@@ -84,8 +80,7 @@ class ParallelTestRunner(object): |
if self._order_output: |
output = tempfile.NamedTemporaryFile(prefix='parallel_vm_test_') |
Info('Piping output to %s.' % output.name) |
- proc = subprocess.Popen(args, stdin=dev_null, stdout=output, |
- stderr=output) |
+ proc = subprocess.Popen(args, stdout=output, stderr=output) |
test_info = { 'test': test, |
'proc': proc, |
'output': output } |