]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Fix false positive in 010 testcase
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Sun, 6 Jul 2025 06:07:48 +0000 (11:37 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 9 Jul 2025 20:15:41 +0000 (14:15 -0600)
commit4da44c665737811ff1582b60dacc51fb50834435
tree22f480298c95d205922d58784525c684017b5dd2
parent579bfdc7ab2b59d3392a0b793f53266c9ee508d1
ftests: Fix false positive in 010 testcase

Fix the false positive in the testcase number 010, 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: 88ffe562376f ("ftests/010: Refactor code to match outputs with same line")
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 56846c0294f8ebb84396022d29213c663eeda8c3)
tests/ftests/010-cgget-g_flag_controller_and_cgroup.py