Add a test case test_process_info_with_no_arg(self) to 'class PlatformCommandTestCase'
for http://llvm.org/viewvc/llvm-project?rev=131089&view=rev. llvm-svn: 131100
This commit is contained in:
parent
a7203e537d
commit
fa92ecc3e8
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue