summaryrefslogtreecommitdiff
path: root/lldb/test/functionalities/command_script
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2015-05-28 16:06:48 +0000
committerEd Maste <emaste@freebsd.org>2015-05-28 16:06:48 +0000
commit39db0f6213d8bd0a729cc0b5f9b28131e96861ee (patch)
treed20585d7196df260a776155cc1dc05c6424e7231 /lldb/test/functionalities/command_script
parent8e453713076b3bc901b6ba91bd78adbff4cf19f4 (diff)
Add a comment explaining the eCommandRequiresTarget test
llvm.org/pr23686 llvm-svn: 238438
Diffstat (limited to 'lldb/test/functionalities/command_script')
-rw-r--r--lldb/test/functionalities/command_script/TestCommandScript.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/functionalities/command_script/TestCommandScript.py b/lldb/test/functionalities/command_script/TestCommandScript.py
index d4210b44f902..61685d833ec6 100644
--- a/lldb/test/functionalities/command_script/TestCommandScript.py
+++ b/lldb/test/functionalities/command_script/TestCommandScript.py
@@ -25,6 +25,8 @@ class CmdPythonTestCase(TestBase):
def pycmd_tests (self):
self.runCmd("command source py_import")
+ # Verify command that specifies eCommandRequiresTarget returns failure
+ # without a target.
self.expect('targetname',
substrs = ['a.out'], matching=False, error=True)