]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
tests/016: fix the cause in prereqs
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 18 May 2022 17:17:52 +0000 (11:17 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 18 May 2022 17:17:58 +0000 (11:17 -0600)
Match the cause message in the prereqs(), for containers check with
other test cases.  This helps the automated scripts to check/match
for the right errors.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/016-cgget-invalid_options.py

index 709844bb3d7b5754d01b4e1f63b89d6f25b948c9..55d366330af0fd2e39704a294e8cd4dad2a297c6 100755 (executable)
@@ -26,7 +26,7 @@ def prereqs(config):
     # This causes issues with the error handling of this test
     if not config.args.container:
         result = consts.TEST_SKIPPED
-        cause = 'This test cannot be run outside of a container'
+        cause = 'This test must be run within a container'
         return result, cause
 
     return result, cause