From: Kamalesh Babulal Date: Wed, 18 May 2022 17:17:52 +0000 (-0600) Subject: tests/016: fix the cause in prereqs X-Git-Tag: v3.1.0~308^2~2^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb8ab50f2ab16d2808c3ba0bf6f20303f382b930;p=thirdparty%2Flibcgroup.git tests/016: fix the cause in prereqs 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 Signed-off-by: Tom Hromatka --- diff --git a/ftests/016-cgget-invalid_options.py b/ftests/016-cgget-invalid_options.py index 709844bb..55d36633 100755 --- a/ftests/016-cgget-invalid_options.py +++ b/ftests/016-cgget-invalid_options.py @@ -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