]> git.ipfire.org Git - thirdparty/lxc.git/commit
Fix the unprivileged tests cgroup management
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 22 Sep 2014 22:08:49 +0000 (18:08 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 22 Sep 2014 22:08:49 +0000 (18:08 -0400)
commit42e5c9878f0d20b3e9682ef441afed2f0228b298
tree80d4b633697452e437d0c0be6ce9f9aa7b4be124
parent93c709b23108300d780011a41069ae4239ad1096
Fix the unprivileged tests cgroup management

To cover all the cases we have around, we need to:
 - Attempt to use cgm if present (preferred)
 - Attempt to use cgmanager directly over dbus otherwise
 - Fallback to cgroupfs

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/tests/lxc-test-apparmor-mount
src/tests/lxc-test-unpriv
src/tests/lxc-test-usernic.in