[Lldb-commits] [lldb] r151583 - /lldb/trunk/test/lldbtest.py
Johnny Chen
johnny.chen at apple.com
Mon Feb 27 15:07:40 PST 2012
Author: johnny
Date: Mon Feb 27 17:07:40 2012
New Revision: 151583
URL: http://llvm.org/viewvc/llvm-project?rev=151583&view=rev
Log:
During the test case tearDown(), give it one final blow to make sure the child process spawned by pexpect is terminated.
Fix the issue of many '(lldb)' zombie processes observed by Jim.
Modified:
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=151583&r1=151582&r2=151583&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Mon Feb 27 17:07:40 2012
@@ -706,6 +706,8 @@
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):
More information about the lldb-commits
mailing list