summaryrefslogtreecommitdiffstats
path: root/lldb/test/tools/lldb-mi/data/TestMiData.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/tools/lldb-mi/data/TestMiData.py')
-rw-r--r--lldb/test/tools/lldb-mi/data/TestMiData.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/test/tools/lldb-mi/data/TestMiData.py b/lldb/test/tools/lldb-mi/data/TestMiData.py
index bc973e41aea..3a28139d2e2 100644
--- a/lldb/test/tools/lldb-mi/data/TestMiData.py
+++ b/lldb/test/tools/lldb-mi/data/TestMiData.py
@@ -200,10 +200,13 @@ class MiDataTestCase(lldbmi_testcase.MiTestCaseBase):
self.runCmd('-data-read-memory-bytes &array')
self.expect(r'\^error')
- # Test that the address argument is required when other options are present
+ # Test that the address and count arguments are required when other options are present
self.runCmd('-data-read-memory-bytes --thread 1')
self.expect(r'\^error')
+ self.runCmd('-data-read-memory-bytes --thread 1 --frame 0')
+ self.expect(r'\^error')
+
# Test that the count argument is required when other options are present
self.runCmd('-data-read-memory-bytes --thread 1 &array')
self.expect(r'\^error')
OpenPOWER on IntegriCloud