summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2013-06-07 22:12:54 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2013-06-07 22:12:54 +0000
commit5c282cc88647f9f9306b87cc2409ebed9cd2be8b (patch)
tree60c06fd20099cb87d71720c5278d1e959df816c1
parent4e5c821087d02c7e32e4ba5949d9217b690cbbad (diff)
downloadbcm5719-llvm-5c282cc88647f9f9306b87cc2409ebed9cd2be8b.tar.gz
bcm5719-llvm-5c282cc88647f9f9306b87cc2409ebed9cd2be8b.zip
Don't set stdin to devnull for forked processes
llvm-svn: 183578
-rw-r--r--lldb/test/lldbtest.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 4ab7d265eaa..927175a2262 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -924,7 +924,6 @@ class Base(unittest2.TestCase):
if child_pid == 0:
# If more I/O support is required, this can be beefed up.
fd = os.open(os.devnull, os.O_RDWR)
- os.dup2(fd, 0)
os.dup2(fd, 1)
os.dup2(fd, 2)
# This call causes the child to have its of group ID
OpenPOWER on IntegriCloud