summaryrefslogtreecommitdiffstats
path: root/lldb/test/help/TestHelp.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-08-22 22:22:00 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-08-22 22:22:00 +0000
commit81ab3f5d314f7b640deef77e2b9f2ec7444107d7 (patch)
tree0bf1c6aa2115284c1af6d21bc15ae9d3fb1845b8 /lldb/test/help/TestHelp.py
parent30123f114aa2b78b0e4164fe1c40c645761dadfc (diff)
downloadbcm5719-llvm-81ab3f5d314f7b640deef77e2b9f2ec7444107d7.tar.gz
bcm5719-llvm-81ab3f5d314f7b640deef77e2b9f2ec7444107d7.zip
Fix the 'target variable' help syntax to output one or more <variable-name>'s.
Add a simple test case for that. llvm-svn: 138281
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