libcgroup
Loading...
Searching...
No Matches
BuildTasksProcPathTest Class Reference
Inheritance diagram for BuildTasksProcPathTest:

Protected Member Functions

void SetUp () override
 

Member Function Documentation

◆ SetUp()

void BuildTasksProcPathTest::SetUp ( )
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:

name mount_point index version

controller0 /sys/fs/cgroup/controller0 0 UNK controller1 /sys/fs/cgroup/controller1 1 2 controller2 /sys/fs/cgroup/controller2 2 1 controller3 /sys/fs/cgroup/controller3 3 2 controller4 /sys/fs/cgroup/controller4 4 1 controller5 /sys/fs/cgroup/controller5 5 2

Note that controllers 1 and 4 are also given namespaces


The documentation for this class was generated from the following file: