]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add a test to create a default systemd scope via cgcreate
authorTom Hromatka <tom.hromatka@oracle.com>
Mon, 17 Apr 2023 14:57:15 +0000 (14:57 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 20 Apr 2023 20:17:30 +0000 (14:17 -0600)
commit85f0370dbe304d39fd12e7c3957c44e43380911e
treeb9d8b7ce2e15621088bddb435b5d2ad8680d3e4a
parentf1eb9902c6fb5fbe2421f3f97e63b879ae4b0d43
ftests: Add a test to create a default systemd scope via cgcreate

Add a test to create a systemd scope via the cgcreate command
line tool.  The scope is set as the default and used to create
a child cgroup.

-----------------------------------------------------------------
Test Results:
        Run Date:                          Apr 10 21:39:10
        Passed:                                  1 test(s)
        Skipped:                                 0 test(s)
        Failed:                                  0 test(s)
-----------------------------------------------------------------
        Test                                          Time (sec)
        --------------------------------------------------------
        setup                                               0.00
        079-sudo-cgcreate_default_systemd_scope.py          5.06
        teardown                                            0.00
        --------------------------------------------------------
        Total Run Time                                      5.06

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
(cherry picked from commit 8e29c7282c956bfb75847f6d46f55668be786817)
tests/ftests/079-sudo-cgcreate_default_systemd_scope.py [new file with mode: 0755]
tests/ftests/Makefile.am