From: Kamalesh Babulal Date: Wed, 9 Jul 2025 11:04:17 +0000 (+0530) Subject: ftests/013: Extend the stress to test pids.events.local (v2) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b960a1109e8ab15d2399592e56b425065ee0dbe2;p=thirdparty%2Flibcgroup.git ftests/013: Extend the stress to test pids.events.local (v2) Extend the test case to exercise the pids.events.local (v2) setting added to pid controller consts list. ----------------------------------------------------------------- Test Results: Run Date: Jul 09 09:56:48 Passed: 1 test(s) Skipped: 0 test(s) Failed: 0 test(s) ----------------------------------------------------------------- Timing Results: Test Time (sec) -------------------------------------------- setup 0.00 013-cgget-multiple_g_flags.py 0.12 teardown 0.00 -------------------------------------------- Total Run Time 0.12 Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka (cherry picked from commit 4dc21927b40eb44b1131c91d2963358e65bdb5ae) --- diff --git a/tests/ftests/013-cgget-multiple_g_flags.py b/tests/ftests/013-cgget-multiple_g_flags.py index c74e4264..8af244ce 100755 --- a/tests/ftests/013-cgget-multiple_g_flags.py +++ b/tests/ftests/013-cgget-multiple_g_flags.py @@ -51,6 +51,9 @@ def test(config): # Append pid controller [1] and cpu controller [N, N - 1] EXPECTED_OUT.extend(OUT_PREFIX + consts.EXPECTED_PIDS_OUT[1] + expected_out for expected_out in consts.EXPECTED_CPU_OUT_V2[-2:]) + # Append pid controller [2] and cpu controller [N, N - 1] + EXPECTED_OUT.extend(OUT_PREFIX + consts.EXPECTED_PIDS_OUT[2] + expected_out + for expected_out in consts.EXPECTED_CPU_OUT_V2[-2:]) for expected_out in EXPECTED_OUT: if len(out.splitlines()) == len(expected_out.splitlines()):