summaryrefslogtreecommitdiffstats
path: root/lldb/test/help/TestHelp.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/help/TestHelp.py')
-rw-r--r--lldb/test/help/TestHelp.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 2430a2ea098..3c338a762a4 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -93,6 +93,11 @@ class HelpCommandTestCase(TestBase):
self.expect("help image du line",
substrs = ['Dump the debug symbol file for one or more target modules'])
+ def test_help_target_variable_syntax(self):
+ """Command 'help target variable' should display <variable-name> ..."""
+ self.expect("help target variable",
+ substrs = ['<variable-name> [<variable-name> [...]]'])
+
if __name__ == '__main__':
import atexit
OpenPOWER on IntegriCloud