summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py b/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
index f84477159d4..c4337c7301f 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
@@ -17,3 +17,13 @@ class AproposTestCase(TestBase):
substrs=[' must be called with exactly one argument'])
self.expect("apropos ''", error=True,
substrs=['\'\' is not a valid search word'])
+
+ @no_debug_info_test
+ def test_apropos_variable(self):
+ """Test that 'apropos variable' prints the fully qualified command name"""
+ self.expect(
+ 'apropos variable',
+ substrs=[
+ 'frame variable',
+ 'target variable',
+ 'watchpoint set variable'])
OpenPOWER on IntegriCloud