]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add test to delete cgroup on shared mount point
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 29 Apr 2022 15:19:46 +0000 (09:19 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 29 Apr 2022 15:19:53 +0000 (09:19 -0600)
commit4af1cb0ab1968f8528c860402a14de024dc7a32d
tree5172a314f5af606cde9565b910b3b04f3529395e
parent148be6804dfbf10c6744b99865722c62686524f1
ftests: Add test to delete cgroup on shared mount point

The user might try to delete the cgroup created on a mount point shared
by cgroup v1 controllers, once for each controller.  This functional
test emulates the deletion behavior and expects the test to pass without
complaint about missing directory, when attempted to delete on the
second controller.

-----------------------------------------------------------------
Test Results:
        Run Date:                          Apr 23 06:44:27
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                                       Time (sec)
        -----------------------------------------------------
        setup                                            0.00
        047-cgcreate-delete_cgrp_shared_mnt.py           0.03
        teardown                                         0.00
        -----------------------------------------------------

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/047-cgcreate-delete_cgrp_shared_mnt.py [new file with mode: 0755]