]> 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 13:54:34 +0000 (13:54 +0000)
committerDhaval Giani <dhaval@linux.vnet.ibm.com>
Tue, 1 Jul 2008 13:54:34 +0000 (13:54 +0000)
commit3c0aafb5e5db7f91ce379e43841debcd325cc50e
tree0243293c62a02d6c299dac7d38ee5af7c095b8f9
parent952183580cc874db99230534f7e38b75f57f3d88
From: Sudhir Kumar <skumar@linux.vnet.ibm.com>

libcgroup: further testcases for create_cgroup() and delete_cgroup()

This patch adds testcases for libcgroup API cgroup_create_cgroup() and
cgroup_delete_cgroup() testing. The APIs are called under the same but two
conditions(FS_MOUNTED=0/1) and return values are checked. The test checks if
these APIs can handle a null cgroup and hence passes a nulll cgroup as
parameter.

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@91 4f4bb910-9a46-0410-90c8-c897d4f1cd53
tests/libcgrouptest01.c