This patchset adds a functional test for cgclear and updates the unit tests to work with the opaque hierarchy changes.
The code changes are available here: https://github.com/drakenclimber/libcgroup/tree/issues/cgclear2 The automated test changes are available here: https://github.com/drakenclimber/libcgroup-tests/tree/issues/cgclear The automated tests are passing and the results are available here: https://github.com/drakenclimber/libcgroup/runs/2221320392 Overall code coverage increased from 46.4% to 50.7%. Coverage on cgclear.c now stands at 40.0%: https://coveralls.io/builds/38349616 Tom Hromatka (4): cgroup.py: Add support for cgclear ftests/consts: Add parser option to skip a test ftests: Add a simple cgclear functional test gunit: Ignore systemd hierarchies in test 007 ftests/028-cgclear-basic_cgclear.py | 88 +++++++++++++++++++++++++++ ftests/cgroup.py | 27 ++++++++ ftests/ftests-nocontainer.sh | 2 +- ftests/ftests.py | 7 +++ gunit/007-cgroup_process_v1_mount.cpp | 27 ++------ 5 files changed, 128 insertions(+), 23 deletions(-) create mode 100755 ftests/028-cgclear-basic_cgclear.py -- 2.26.2 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel