libcgroup
|
Protected Member Functions | |
void | SetUp () override |
|
inlineoverrideprotected |
Setup this test case
This test case calls cg_build_path() to generate various cgroup paths. The SetUp() routine creates a simple mount table that can be used to verify cg_build_path() behavior.
cg_mount_table for this test is as follows:
controller0 /sys/fs/cgroup/controller0 0 controller1 /sys/fs/cgroup/controller1 1 controller2 /sys/fs/cgroup/controller2 2 controller3 /sys/fs/cgroup/controller3 3 controller4 /sys/fs/cgroup/controller4 4 controller5 /sys/fs/cgroup/controller5 5
Note that controllers 1 and 5 are also given namespaces