diff options
Diffstat (limited to 'lldb/test/help/TestHelp.py')
-rw-r--r-- | lldb/test/help/TestHelp.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py index 49d857aa660..84b1eb0d302 100644 --- a/lldb/test/help/TestHelp.py +++ b/lldb/test/help/TestHelp.py @@ -1,5 +1,5 @@ """ -Test lldb help command. +Test some lldb help commands. See also CommandInterpreter::OutputFormattedHelpText(). """ @@ -24,6 +24,12 @@ class HelpCommandTestCase(TestBase): self.expect("help", startstr = 'The following is a list of built-in, permanent debugger commands') + def test_help_image_dump_symtab_should_not_crash(self): + """Command 'help image dump symtab' should not crash lldb.""" + self.expect("help image dump symtab", + substrs = ['image dump symtab', + 'sort-order']) + if __name__ == '__main__': import atexit |