]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add cgget test with multiple '-r' flags
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 9 Feb 2021 20:06:25 +0000 (20:06 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 1 Mar 2021 17:17:12 +0000 (10:17 -0700)
commiteb2742010fbe9fa9ca367c24e35e404c8ac21b21
tree060ac73584518aac8611ee90d1aa85569145af1c
parent72e7d397b6c9509363a866f73120e686402c03e0
ftests: Add cgget test with multiple '-r' flags

Add a test that exercises multiple '-r' flags passed
into cgget.  This test verifies the following cgget
operation:

$ cgget -r memory.limit_in_bytes -r memory.soft_limit_in_bytes \
  008cgget
008cgget:
memory.limit_in_bytes: 1048576
memory.soft_limit_in_bytes: 1024000

-----------------------------------------------------------------
Test Results:
        Run Date:                          Feb 09 20:48:45
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                                    Time (sec)
        ---------------------------------------------------------
        setup                                        18.71
        008-cgget-multiple_r_flags.py                 0.78
        teardown                                      0.00
        ---------------------------------------------------------
        Total Run Time                               19.49

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