See the associated patchset with the changes to libcgroup [1]. This patchset adds functional tests and unit tests for the new cgxget interface.
[1] https://sourceforge.net/p/libcg/mailman/message/37228253/ The changes to libcgroup are available here: https://github.com/drakenclimber/libcgroup/tree/issues/cgxget The changes to the libcgroup tests are available here: https://github.com/drakenclimber/libcgroup-tests/tree/issues/cgxget Code coverage numbers are at 43.5%: https://coveralls.io/builds/37485208 Automated test results are here: https://github.com/drakenclimber/libcgroup/runs/1988981133 Tom Hromatka (4): ftests: Add support for cgxget to the Cgroup class ftests: Add cgxget cgroup v1 test gtest: Add v1_shares_to_v2() unit test gtest: Add v2_weight_to_v1() unit test ftests/017-cgxget-basic_cgxget_v1.py | 153 +++++++++++++++++++++++++++ ftests/cgroup.py | 82 +++++++++----- gunit/016-v1_shares_to_v2.cpp | 91 ++++++++++++++++ gunit/017-v2_weight_to_v1.cpp | 91 ++++++++++++++++ gunit/Makefile.am | 4 +- 5 files changed, 394 insertions(+), 27 deletions(-) create mode 100755 ftests/017-cgxget-basic_cgxget_v1.py create mode 100644 gunit/016-v1_shares_to_v2.cpp create mode 100644 gunit/017-v2_weight_to_v1.cpp -- 2.26.2 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel