Add a series of tests for cgconfigparser.  This patchset affects
only the test suite; no changes were made to the libcgroup library.

The changes to the libcgroup tests are available here:
https://github.com/drakenclimber/libcgroup/tree/issues/cgconfig-tests

The automated test results are available here:
https://github.com/drakenclimber/libcgroup/runs/2077810342

Overall code coverage rose from 46.4% to 49.9%.  cgconfig.c's code
coverage now stands at 76.1%:
https://coveralls.io/builds/37818916

Tom Hromatka (9):
  cgroup.py: Add support for cgconfigparser
  cgroup.py: Add method to get a controller's mount point
  ftests: Add a simple cgconfigparser test
  ftests: Add a cgconfigparser test that loads a directory
  utils.py: Add functions to get permissions, users, and groups
  ftests: Add a cgconfigparser owner, fperm, and dperm test
  ftests: Add a cgconfigparser test that sets tasks owner/permissions
  ftests: Add invalid parameter test for cgconfigparser
  cgroup.py: Add pydoc documentation to Cgroup.configparser()

 ftests/017-cgconfig-load_file.py          | 115 ++++++++++++++++
 ftests/018-cgconfig-load_dir.py           | 151 ++++++++++++++++++++++
 ftests/019-cgconfig-uidgid_dperm_fperm.py | 138 ++++++++++++++++++++
 ftests/020-cgconfig-tasks_perms_owner.py  | 135 +++++++++++++++++++
 ftests/021-cgconfig-invalid_options.py    | 104 +++++++++++++++
 ftests/cgroup.py                          | 104 +++++++++++++++
 ftests/utils.py                           |  65 ++++++++++
 7 files changed, 812 insertions(+)
 create mode 100755 ftests/017-cgconfig-load_file.py
 create mode 100755 ftests/018-cgconfig-load_dir.py
 create mode 100755 ftests/019-cgconfig-uidgid_dperm_fperm.py
 create mode 100755 ftests/020-cgconfig-tasks_perms_owner.py
 create mode 100755 ftests/021-cgconfig-invalid_options.py

-- 
2.26.2



_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to