提交 9f8d170d 编写于 作者: P Pavel Hrdina

vircgrouptest: prepare testCgroupDetectMounts for cgroup v2

Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
上级 9b9c6528
......@@ -8,3 +8,4 @@ blkio /not/really/sys/fs/cgroup
net_cls <null>
perf_event <null>
name=systemd <null>
unified <null>
......@@ -8,3 +8,4 @@ blkio /sys/fs/cgroup/blkio
net_cls /sys/fs/cgroup/net_cls
perf_event <null>
name=systemd <null>
unified <null>
......@@ -8,3 +8,4 @@ blkio /sys/fs/cgroup/blkio
net_cls <null>
perf_event /sys/fs/cgroup/perf_event
name=systemd <null>
unified <null>
......@@ -8,3 +8,4 @@ blkio /sys/fs/cgroup/blkio
net_cls /sys/fs/cgroup/net_cls
perf_event /sys/fs/cgroup/perf_event
name=systemd <null>
unified <null>
......@@ -8,3 +8,4 @@ blkio /sys/fs/cgroup/blkio
net_cls /sys/fs/cgroup/net_cls
perf_event /sys/fs/cgroup/perf_event
name=systemd /sys/fs/cgroup/systemd
unified <null>
......@@ -8,3 +8,4 @@ blkio /sys/fs/cgroup/blkio
net_cls /sys/fs/cgroup/net_cls,net_prio
perf_event /sys/fs/cgroup/perf_event
name=systemd /sys/fs/cgroup/systemd
unified <null>
......@@ -8,3 +8,4 @@ blkio /sys/fs/cgroup/blkio
net_cls <null>
perf_event /sys/fs/cgroup/perf_event
name=systemd <null>
unified <null>
......@@ -8,3 +8,4 @@ blkio /cgroup/blkio
net_cls /cgroup/net_cls
perf_event <null>
name=systemd <null>
unified <null>
......@@ -8,3 +8,4 @@ blkio /sys/fs/cgroup/blkio
net_cls /sys/fs/cgroup/net_cls
perf_event /sys/fs/cgroup/perf_event
name=systemd /sys/fs/cgroup/systemd
unified <null>
......@@ -8,3 +8,4 @@ blkio /sys/fs/cgroup/blkio
net_cls /sys/fs/cgroup/net_cls
perf_event /sys/fs/cgroup/perf_event
name=systemd /sys/fs/cgroup/systemd
unified <null>
......@@ -175,6 +175,8 @@ testCgroupDetectMounts(const void *args)
virCgroupControllerTypeToString(i),
NULLSTR(group->legacy[i].mountPoint));
}
virBufferAsprintf(&buf, "%-12s %s\n",
"unified", NULLSTR(group->unified.mountPoint));
if (virBufferCheckError(&buf) < 0)
goto cleanup;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册