diff options
-rw-r--r-- | lldb/test/platform/TestPlatformCommand.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/platform/TestPlatformCommand.py b/lldb/test/platform/TestPlatformCommand.py index b8986291211..41be7b8bce2 100644 --- a/lldb/test/platform/TestPlatformCommand.py +++ b/lldb/test/platform/TestPlatformCommand.py @@ -22,6 +22,11 @@ class PlatformCommandTestCase(TestBase): self.expect("platform process list", substrs = ['PID', 'ARCH', 'NAME']) + def test_process_info_with_no_arg(self): + """This is expected to fail and to return a proper error message.""" + self.expect("platform process info", error=True, + substrs = ['one or more process id(s) must be specified']) + def test_status(self): self.expect("platform status", substrs = ['Platform', 'Triple', 'OS Version', 'Kernel', 'Hostname']) |