summaryrefslogtreecommitdiffstats
path: root/lldb/test/terminal/TestSTTYBeforeAndAfter.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/terminal/TestSTTYBeforeAndAfter.py')
-rw-r--r--lldb/test/terminal/TestSTTYBeforeAndAfter.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/terminal/TestSTTYBeforeAndAfter.py b/lldb/test/terminal/TestSTTYBeforeAndAfter.py
index d3acccafa3a..49e91cf42a3 100644
--- a/lldb/test/terminal/TestSTTYBeforeAndAfter.py
+++ b/lldb/test/terminal/TestSTTYBeforeAndAfter.py
@@ -2,8 +2,9 @@
Test that 'stty -a' displays the same output before and after running the lldb command.
"""
+import lldb_shared
+
import os
-import unittest2
import lldb
from lldbtest import *
@@ -116,10 +117,3 @@ class CommandLineCompletionTestCase(TestBase):
if len(tuple[0]) == 0:
break
self.assertTrue(tuple[0] == tuple[1])
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud