summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/lldbtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index c08fc8b4f52..9c96018eb01 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -1072,7 +1072,7 @@ class Base(unittest2.TestCase):
self.child.sendline('settings set interpreter.prompt-on-quit false')
self.child.sendline('quit')
self.child.expect(pexpect.EOF)
- except (ValueError, pexpect.ExceptionPexpect):
+ except (ValueError, OSError, pexpect.ExceptionPexpect):
# child is already terminated
pass
finally:
OpenPOWER on IntegriCloud