From 9a8667b17cf0bf085942f45ae4f4f5efb8f3c9cc Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Wed, 18 May 2022 11:19:52 -0600 Subject: [PATCH] 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 (cherry picked from commit bb8ab50f2ab16d2808c3ba0bf6f20303f382b930) --- ftests/016-cgget-invalid_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftests/016-cgget-invalid_options.py b/ftests/016-cgget-invalid_options.py index 80ecc433..692c7e13 100755 --- a/ftests/016-cgget-invalid_options.py +++ b/ftests/016-cgget-invalid_options.py @@ -38,7 +38,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 -- 2.47.2