]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests/009: Refactor code to match outputs with same line
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Sat, 6 Jul 2024 10:35:02 +0000 (16:05 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 17 Jul 2024 21:26:47 +0000 (15:26 -0600)
commit1545d4df54ea705ce52016a35fe1c3284623ca1b
treed2351c3407bc8c81a1649228844ca4e87ca067c3
parent55720e9b40347c74974ca1b9448414abdd1c575d
ftests/009: Refactor code to match outputs with same line

Refactor the code to match controller(s) output, with expected
controller(s) output, where more than one items in the expected output
list matches number of lines. Without this patch, the output is matched
only against the first item matching the line count in the expected
output.

-----------------------------------------------------------------
Test Results:
        Run Date:                          Jun 22 10:18:38
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                                    Time (sec)
        --------------------------------------------------
        setup                                         0.00
        009-cgget-g_flag_controller_only.py           0.04
        teardown                                      0.00
        --------------------------------------------------
        Total Run Time                                0.04

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/ftests/009-cgget-g_flag_controller_only.py