]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
ftests: Add --container and --no-container flags
authorTom Hromatka <tom.hromatka@oracle.com>
Wed, 3 Feb 2021 16:42:44 +0000 (09:42 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 3 Feb 2021 22:11:11 +0000 (22:11 +0000)
commit7460858ceb1ff212e6f2d323065c7cecd1bf2015
tree9cb71fb45f552177a3e42607182da5c30105e342
parentc1578cb9bf57b57e5fb94d69a2bb0c93bbee6f29
ftests: Add --container and --no-container flags

In preparation of running the tests outside of a
container, add two flags to ftests.py: --container
and --no-container.  As the names imply, these flags
are used to specify whether the tests should be
containerized or not.

Note1: Some tests (cgrulesengd) will only work
       in a non-containerized environment.

Note2: Running the tests in a non-containerized
       environment could be destructive to a
       system as cgroup changes could be made that
       adversely affect the entire system.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/cgroup.py
ftests/config.py
ftests/ftests.py
ftests/process.py