summaryrefslogtreecommitdiff
path: root/src/ToolBox/SOS/tests/t_cmd_soshelp.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ToolBox/SOS/tests/t_cmd_soshelp.py')
-rw-r--r--src/ToolBox/SOS/tests/t_cmd_soshelp.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/ToolBox/SOS/tests/t_cmd_soshelp.py b/src/ToolBox/SOS/tests/t_cmd_soshelp.py
deleted file mode 100644
index 8bb51dad5a..0000000000
--- a/src/ToolBox/SOS/tests/t_cmd_soshelp.py
+++ /dev/null
@@ -1,31 +0,0 @@
-import lldb
-import re
-import testutils as test
-
-
-def runScenario(assembly, debugger, target):
- process = target.GetProcess()
- res = lldb.SBCommandReturnObject()
- ci = debugger.GetCommandInterpreter()
-
- # Run debugger, wait until libcoreclr is loaded,
- # set breakpoint at Test.Main and stop there
- test.stop_in_main(debugger, assembly)
-
- ci.HandleCommand("soshelp", res)
- print(res.GetOutput())
- print(res.GetError())
- # Interpreter must have this command and able to run it
- test.assertTrue(res.Succeeded())
-
- output = res.GetOutput()
- # Output is not empty
- test.assertTrue(len(output) > 0)
-
- # Specific string must be in the output
- test.assertNotEqual(output.find("soshelp <functionname>"), -1)
-
- # TODO: test other use cases
-
- # Continue current process and checks its exit code
- test.exit_lldb(debugger, assembly)