]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add cgget test with multiple '-r' flags and multiple cgroups
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 9 Feb 2021 21:39:14 +0000 (21:39 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 1 Mar 2021 17:17:35 +0000 (10:17 -0700)
commite29ce5d896d89212d284be38b5e402e6d447a621
tree545250505bf9fb1333e8c8c4b213f37a0029c402
parent67452e981e5dfc156812f2151d7f4a4ccfc63ac8
ftests: Add cgget test with multiple '-r' flags and multiple cgroups

Add a test that exercises multiple '-r' flags and multiple
cgroups in cgget.  This test verifies the following cgget
operation:

$ cgget -r memory.limit_in_bytes -r memory.soft_limit_in_bytes \
  012cgget1 012cgget2

-----------------------------------------------------------------
Test Results:
        Run Date:                          Feb 09 21:39:23
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                                    Time (sec)
        ---------------------------------------------------------
        setup                                        16.92
        012-cgget-multiple_r_flags2.py                1.83
        teardown                                      0.00
        ---------------------------------------------------------
        Total Run Time                               18.75

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/012-cgget-multiple_r_flags2.py [new file with mode: 0755]