]> git.proxmox.com Git - mirror_lxc.git/commit - src/tests/lxc-test-unpriv
unpriv tests: also move caller into unbound cgroups
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 21 May 2014 16:33:57 +0000 (11:33 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 21 May 2014 19:23:40 +0000 (15:23 -0400)
commitef4deb7f20dea12dd4225bbcc4ab471d0454289d
tree98d008db925465b9cb9ee6435ffd0bad7f540fa6
parentdf9b1831fb6d88fb875a4be2b402efd9feef106c
unpriv tests: also move caller into unbound cgroups

Otherwise the name=systemd cgroup isn't changed to one which
the lxc-unpriv user can write to, causing the test to fail.

This allows lxc-test-unpriv and lxc-test-usernic to pass when run in an
unprivileged container with cgmanager.

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