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

Protected Member Functions

void SetUp () override
 

Member Function Documentation

◆ SetUp()

void BuildPathV1Test::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

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


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