]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix cgpath test
authorDwight Engen <dwight.engen@oracle.com>
Tue, 29 Oct 2013 20:46:16 +0000 (16:46 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 30 Oct 2013 13:52:52 +0000 (09:52 -0400)
commit1f845c396fc102951cc250d75f6f2bbfcb321aa0
treebb3873daaad837635335b9180b3488c36364a5ab
parent50266dc604ac8df63328e84376414de7448869b1
fix cgpath test

Commit 1ea59ad28 sets memory.use_hierarchy, which means that this test
cannot use memory.swappiness as its dummy cgroup item to set/unset since
writing to it with use_hierarchy set gets -EINVAL. Change test to use
memory.soft_limit_in_bytes instead.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/tests/cgpath.c