Skip to content

Commit cdefd5a

Browse files
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. Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
1 parent ce5749a commit cdefd5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ftests/010-cgget-g_flag_controller_and_cgroup.py

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

2828

2929
def test(config):
30-
result = consts.TEST_PASSED
30+
result = consts.TEST_FAILED
3131
cause = None
3232

3333
out = Cgroup.get(config, controller='{}:{}'.format(CONTROLLER, CGNAME),

0 commit comments

Comments
 (0)