This patchset adds tests for the proposed cgroup v2 support in cgcreate. The patchset associated with these changes is available here: https://sourceforge.net/p/libcg/mailman/message/37074048/
Code is available on github here: https://github.com/drakenclimber/libcgroup-tests/tree/issues/cgcreate Automated test results are passing and are available here: https://travis-ci.com/github/drakenclimber/libcgroup/builds/177698810 Code coverage increased by 1% and is now at 20.53%: https://coveralls.io/builds/32409091 Tom Hromatka (5): gunit: Add unit tests for cgroup_set_values_recursive() gunit: Add unit tests for cgroup_chown_chmod_tasks() tests: Set cgroup version in test 006 gunit: Add unit tests for cgroupv2_subtree_control() gunit: Add unit tests for cgroup_create_cgroup() gunit/006-cgroup_get_cgroup.cpp | 1 + gunit/009-cgroup_set_values_recursive.cpp | 131 ++++++++++++ gunit/010-cgroup_chown_chmod_tasks.cpp | 96 +++++++++ gunit/011-cgroupv2_subtree_control.cpp | 125 ++++++++++++ gunit/012-cgroup_create_cgroup.cpp | 232 ++++++++++++++++++++++ gunit/Makefile.am | 6 +- 6 files changed, 590 insertions(+), 1 deletion(-) create mode 100644 gunit/009-cgroup_set_values_recursive.cpp create mode 100644 gunit/010-cgroup_chown_chmod_tasks.cpp create mode 100644 gunit/011-cgroupv2_subtree_control.cpp create mode 100644 gunit/012-cgroup_create_cgroup.cpp -- 2.25.3 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel