]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vircgroupmock: fix cgroup v1 mocking
authorPavel Hrdina <phrdina@redhat.com>
Wed, 19 Oct 2022 11:54:18 +0000 (13:54 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 19 Oct 2022 14:32:14 +0000 (16:32 +0200)
commit76ff847386f53c8ef1b219c9d73fa9474d5b1718
tree0df04b2f08b36fd2941c964f970259037435cac6
parentf53988d657c6aafd7aa4f2070df01c43f1a936ab
vircgroupmock: fix cgroup v1 mocking

The `legacy` mode is also valid so we need to take it into account as
well.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/vircgroupmock.c