summaryrefslogtreecommitdiffstats
path: root/tests/libcgrouptest.h
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-07-01 14:07:07 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-07-01 14:07:07 +0000
commit294c69b6d22d4c097f2deec277f1ffa3f431c841 (patch)
treedd603a403961615dcef16cf49140589ff03616d2 /tests/libcgrouptest.h
parentfd13e9f6d4f315018fc88258ba965c32e12601da (diff)
downloadlibcg-294c69b6d22d4c097f2deec277f1ffa3f431c841.tar.gz
libcg-294c69b6d22d4c097f2deec277f1ffa3f431c841.tar.xz
libcg-294c69b6d22d4c097f2deec277f1ffa3f431c841.zip
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
Diffstat (limited to 'tests/libcgrouptest.h')
0 files changed, 0 insertions, 0 deletions