Add a cgexec test and the requisite framework to support cgexec. There are no code changes to the libcgroup repository
Tests are available here: https://github.com/drakenclimber/libcgroup/tree/issues/cgexec-test Automated tests are passing and results are here: https://github.com/drakenclimber/libcgroup/runs/2602318243 Code coverage is reported to have stayed the same at 51.5%, but I think coveralls is confused here. cgexec.c is not listed at all in main's code coverage numbers [1], but is now at 58.1% here. https://coveralls.io/builds/39748246 [1] https://coveralls.io/builds/39694693 Tom Hromatka (4): cgroup.py: Add support for cgexec process.py: Add support for cgexec'ing a new process cgroup.py: Add method to get pids in a cgroup ftests: Add a cgexec test ftests/034-cgexec-basic_cgexec.py | 93 +++++++++++++++++++++++++++++++ ftests/cgroup.py | 47 ++++++++++++++++ ftests/process.py | 62 ++++++++++++++++----- 3 files changed, 187 insertions(+), 15 deletions(-) create mode 100755 ftests/034-cgexec-basic_cgexec.py -- 2.25.1 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel