]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Fix false positive in 013 testcase
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Sat, 5 Jul 2025 06:38:04 +0000 (12:08 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 9 Jul 2025 20:15:49 +0000 (14:15 -0600)
commit728267fb8f1f2b7e3df988cb5c8388f6a9feb7e4
tree40f48587f15797fe167c061ca717948e810cdb4b
parent4da44c665737811ff1582b60dacc51fb50834435
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 <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit 0e54d8ea10d04b49124915bdd6cd7d1e5516b722)
tests/ftests/013-cgget-multiple_g_flags.py