Skip to content

Commit 5041800

Browse files
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: 6bea4df ("ftests/013: Refactor code to match outputs with same line") Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
1 parent ce5749a commit 5041800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ftests/013-cgget-multiple_g_flags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def setup(config):
3030

3131

3232
def test(config):
33-
result = consts.TEST_PASSED
33+
result = consts.TEST_FAILED
3434
cause = None
3535

3636
out = Cgroup.get(config, controller=[CONTROLLER1, CONTROLLER2],

0 commit comments

Comments
 (0)