Make stdin for test scripts empty, so that tests don't accidentally hang waiting
for stdin.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75506 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/test/TestRunner.py b/utils/test/TestRunner.py
index 728d406..6c6de1b 100755
--- a/utils/test/TestRunner.py
+++ b/utils/test/TestRunner.py
@@ -151,6 +151,7 @@
try:
p = subprocess.Popen(["/bin/sh",SCRIPT],
cwd=os.path.dirname(FILENAME),
+ stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out,err = p.communicate()