[PATCH v2 46/53] [ACKED] vircgrouptest: prepare testCgroupDetectMounts for cgroup v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 tests/vircgroupdata/all-in-one.parsed     | 1 +
 tests/vircgroupdata/cgroups1.parsed       | 1 +
 tests/vircgroupdata/cgroups2.parsed       | 1 +
 tests/vircgroupdata/cgroups3.parsed       | 1 +
 tests/vircgroupdata/fedora-18.parsed      | 1 +
 tests/vircgroupdata/fedora-21.parsed      | 1 +
 tests/vircgroupdata/kubevirt.parsed       | 1 +
 tests/vircgroupdata/ovirt-node-6.6.parsed | 1 +
 tests/vircgroupdata/ovirt-node-7.1.parsed | 1 +
 tests/vircgroupdata/rhel-7.1.parsed       | 1 +
 tests/vircgrouptest.c                     | 2 ++
 11 files changed, 12 insertions(+)

diff --git a/tests/vircgroupdata/all-in-one.parsed b/tests/vircgroupdata/all-in-one.parsed
index d703d08fb9..97c96e8ecd 100644
--- a/tests/vircgroupdata/all-in-one.parsed
+++ b/tests/vircgroupdata/all-in-one.parsed
@@ -8,3 +8,4 @@ blkio        /not/really/sys/fs/cgroup
 net_cls      <null>
 perf_event   <null>
 name=systemd <null>
+unified      <null>
diff --git a/tests/vircgroupdata/cgroups1.parsed b/tests/vircgroupdata/cgroups1.parsed
index b6916f17a1..16431aa006 100644
--- a/tests/vircgroupdata/cgroups1.parsed
+++ b/tests/vircgroupdata/cgroups1.parsed
@@ -8,3 +8,4 @@ blkio        /sys/fs/cgroup/blkio
 net_cls      /sys/fs/cgroup/net_cls
 perf_event   <null>
 name=systemd <null>
+unified      <null>
diff --git a/tests/vircgroupdata/cgroups2.parsed b/tests/vircgroupdata/cgroups2.parsed
index 5eb2bc7bb2..d1bb0dcb7c 100644
--- a/tests/vircgroupdata/cgroups2.parsed
+++ b/tests/vircgroupdata/cgroups2.parsed
@@ -8,3 +8,4 @@ blkio        /sys/fs/cgroup/blkio
 net_cls      <null>
 perf_event   /sys/fs/cgroup/perf_event
 name=systemd <null>
+unified      <null>
diff --git a/tests/vircgroupdata/cgroups3.parsed b/tests/vircgroupdata/cgroups3.parsed
index 2b1f3825c1..44e475c9d2 100644
--- a/tests/vircgroupdata/cgroups3.parsed
+++ b/tests/vircgroupdata/cgroups3.parsed
@@ -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>
diff --git a/tests/vircgroupdata/fedora-18.parsed b/tests/vircgroupdata/fedora-18.parsed
index 8d5ba75c7e..662a38a9e8 100644
--- a/tests/vircgroupdata/fedora-18.parsed
+++ b/tests/vircgroupdata/fedora-18.parsed
@@ -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>
diff --git a/tests/vircgroupdata/fedora-21.parsed b/tests/vircgroupdata/fedora-21.parsed
index 3377af0382..4e447fd7bd 100644
--- a/tests/vircgroupdata/fedora-21.parsed
+++ b/tests/vircgroupdata/fedora-21.parsed
@@ -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>
diff --git a/tests/vircgroupdata/kubevirt.parsed b/tests/vircgroupdata/kubevirt.parsed
index 6948707238..bf977f8363 100644
--- a/tests/vircgroupdata/kubevirt.parsed
+++ b/tests/vircgroupdata/kubevirt.parsed
@@ -8,3 +8,4 @@ blkio        /sys/fs/cgroup/blkio
 net_cls      <null>
 perf_event   /sys/fs/cgroup/perf_event
 name=systemd <null>
+unified      <null>
diff --git a/tests/vircgroupdata/ovirt-node-6.6.parsed b/tests/vircgroupdata/ovirt-node-6.6.parsed
index 01bf466be6..9d10813d8c 100644
--- a/tests/vircgroupdata/ovirt-node-6.6.parsed
+++ b/tests/vircgroupdata/ovirt-node-6.6.parsed
@@ -8,3 +8,4 @@ blkio        /cgroup/blkio
 net_cls      /cgroup/net_cls
 perf_event   <null>
 name=systemd <null>
+unified      <null>
diff --git a/tests/vircgroupdata/ovirt-node-7.1.parsed b/tests/vircgroupdata/ovirt-node-7.1.parsed
index 8d5ba75c7e..662a38a9e8 100644
--- a/tests/vircgroupdata/ovirt-node-7.1.parsed
+++ b/tests/vircgroupdata/ovirt-node-7.1.parsed
@@ -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>
diff --git a/tests/vircgroupdata/rhel-7.1.parsed b/tests/vircgroupdata/rhel-7.1.parsed
index 8d5ba75c7e..662a38a9e8 100644
--- a/tests/vircgroupdata/rhel-7.1.parsed
+++ b/tests/vircgroupdata/rhel-7.1.parsed
@@ -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>
diff --git a/tests/vircgrouptest.c b/tests/vircgrouptest.c
index 3e8793a6c3..75187216d9 100644
--- a/tests/vircgrouptest.c
+++ b/tests/vircgrouptest.c
@@ -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;
 
-- 
2.17.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux