]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
From: Sudhir Kumar <skumar@linux.vnet.ibm.com>
authorDhaval Giani <dhaval@linux.vnet.ibm.com>
Tue, 1 Jul 2008 14:07:07 +0000 (14:07 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Tue, 1 Jul 2008 14:07:07 +0000 (14:07 +0000)
commit294c69b6d22d4c097f2deec277f1ffa3f431c841
treedd603a403961615dcef16cf49140589ff03616d2
parentfd13e9f6d4f315018fc88258ba965c32e12601da
From: Sudhir Kumar <skumar@linux.vnet.ibm.com>

libcgroup: testcases for cgroup_modify_cgroup()

This patch adds testcases for libcgroup API cgroup_modify_cgroup() testing. The API
is called with filesystem mounted (FS_MOUNTED=1) and return values are checked.
The API is first called with the same cgroup(the one which is existing in the
file system, and with all the same parameters). The second time it is called
with a null cgroup. Third time it is called with a new cgroup having different
controller.
The filesystem is checked if the values have been modified.

Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@94 4f4bb910-9a46-0410-90c8-c897d4f1cd53
tests/libcgrouptest01.c