From 0e54d8ea10d04b49124915bdd6cd7d1e5516b722 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Sat, 5 Jul 2025 12:08:04 +0530 Subject: [PATCH] ftests: Fix false positive in 013 testcase Fix the false positive in the testcase number 013, the return value should be by default TEST_FAILED, instead of TEST_PASSED. The flow of the testcase is designed to set the return value to TEST_PASSED only if the current kernel's cpu controller settings matches any of the expected cpu controller output list. Fixes: 6bea4df6d283 ("ftests/013: Refactor code to match outputs with same line") Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- tests/ftests/013-cgget-multiple_g_flags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ftests/013-cgget-multiple_g_flags.py b/tests/ftests/013-cgget-multiple_g_flags.py index 8af244ce..1f7dd257 100755 --- a/tests/ftests/013-cgget-multiple_g_flags.py +++ b/tests/ftests/013-cgget-multiple_g_flags.py @@ -30,7 +30,7 @@ def setup(config): def test(config): - result = consts.TEST_PASSED + result = consts.TEST_FAILED cause = None out = Cgroup.get(config, controller=[CONTROLLER1, CONTROLLER2], -- 2.39.5