Add some delay before calling SBDebugger.Terminate().
llvm-svn: 107221
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py
index 3ab116b..08c143a 100755
--- a/lldb/test/dotest.py
+++ b/lldb/test/dotest.py
@@ -16,6 +16,7 @@
import os
import sys
+import time
import unittest
#
@@ -142,4 +143,6 @@
unittest.TextTestRunner(verbosity=verbose).run(suite)
+# Add some delay before calling SBDebugger.Terminate().
+time.sleep(1)
lldb.SBDebugger.Terminate()
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 56ec504..f252498 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -31,7 +31,7 @@
'The following is a list of built-in, permanent debugger commands'))
def test_help_should_not_hang_emacsshell(self):
- """'set term-width 0' should not hang the help command."""
+ """Command 'set term-width 0' should not hang the help command."""
res = lldb.SBCommandReturnObject()
self.ci.HandleCommand("set term-width 0", res)
self.assertTrue(res.Succeeded())