]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add cgget test with '-g' <controller>:<cgroup> flag
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 9 Feb 2021 21:04:21 +0000 (21:04 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 1 Mar 2021 17:17:24 +0000 (10:17 -0700)
commitef39cb7f01f8e988b9d027c3d655a21401790d56
tree03271e27694e9d136c674753ce3961daf2c29852
parent2152b51bad44a3827d816b6302bdcafd176b0b3b
ftests: Add cgget test with '-g' <controller>:<cgroup> flag

Add a test that exercises the '-g' <controller>:<cgroup> option
in cgget.  This test verifies the following cgget operation:

$ cgget -g cpu:010cgget

-----------------------------------------------------------------
Test Results:
        Run Date:                          Feb 09 21:04:46
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                                    Time (sec)
        ---------------------------------------------------------
        setup                                        20.73
        010-cgget-g_flag_controller_and_cgroup.py           0.60
        teardown                                      0.00
        ---------------------------------------------------------
        Total Run Time                               21.33

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