summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/lldbtest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 39b28e235d5..c6fb060acfb 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -706,6 +706,8 @@ class Base(unittest2.TestCase):
self.child.expect(pexpect.EOF)
except:
pass
+ # Give it one final blow to make sure the child is terminated.
+ self.child.close()
# Check and run any hook functions.
for hook in reversed(self.hooks):
OpenPOWER on IntegriCloud