]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: add code to stress cgroup_init()
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 18 May 2022 17:21:59 +0000 (11:21 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 18 May 2022 17:22:05 +0000 (11:22 -0600)
commitb0e132bfa84bbd17c501c7eff953ad498ee35f2a
tree02898bda49344f77013a6cf615999fee1ad91728
parentbb8ab50f2ab16d2808c3ba0bf6f20303f382b930
ftests: add code to stress cgroup_init()

This test case stress cgroup_init(), by trying to create 102 mount
points and indirectly testing the cgroup initialization code, which
would populate the cg_mount_table[] and controllers[].

-----------------------------------------------------------------
Test Results:
        Run Date:                          May 17 11:05:47
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
Timing Results:
        Test                          Time (sec)
        ----------------------------------------
        setup                               0.00
        999-stress-cgroup_init.py           1.91
        teardown                            0.00
        ----------------------------------------
        Total Run Time                      1.91

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