diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py index 73e059ab432d..95bf8167a741 100644 --- a/lldb/test/help/TestHelp.py +++ b/lldb/test/help/TestHelp.py @@ -112,6 +112,15 @@ class HelpCommandTestCase(TestBase): self.expect("help target variable", substrs = [' [ [...]]']) + def test_help_watchpoint_and_its_args(self): + """Command 'help watchpoint', 'help watchpt-id', and 'help watchpt-id-list' should work.""" + self.expect("help watchpoint", + substrs = ['delete', 'disable', 'enable', 'list']) + self.expect("help watchpt-id", + substrs = ['']) + self.expect("help watchpt-id-list", + substrs = ['']) + if __name__ == '__main__': import atexit