]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add a test for the memory abstraction layer
authorTom Hromatka <tom.hromatka@oracle.com>
Mon, 14 Apr 2025 20:54:50 +0000 (14:54 -0600)
committerKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 25 Apr 2025 09:50:42 +0000 (15:20 +0530)
commit1ae7cf85e45fdbae7c07be324c47e39cbf19ffbe
treecf32af2c2791832c1022e554964c7ae50c884ea8
parent9c8ce4de5381aa29864523a2d26a46f9594b341b
ftests: Add a test for the memory abstraction layer

Add a test for the memory abstraction layer abstractions.
Currently only supports:
            memory.max <-> memory.limit_in_bytes
            memory.high <-> memory.soft_limit_in_bytes

-----------------------------------------------------------------
Test Results:
        Run Date:                          Apr 14 14:52:47
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                              Time (sec)
        --------------------------------------------
        setup                                   0.00
        093-cgxget-memory_settings.py           3.34
        teardown                                0.00
        --------------------------------------------
        Total Run Time                          3.34

[Kamalesh removed the unused exceptions variable (lint warnings)]
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
tests/ftests/093-cgxget-memory_settings.py [new file with mode: 0755]