diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-12-22 18:58:11 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-12-22 18:58:11 +0000 |
commit | 893cb90f5dabdce79535d4cc32c07e95b3ec4ead (patch) | |
tree | 8eaeb6eb0cb178378fb70691c7ebbb177fdf0a4d /tests/libcgrouptest.h | |
parent | 8f5fb8e44b06100855889be77d436d19bd65f11f (diff) | |
download | libcg-893cb90f5dabdce79535d4cc32c07e95b3ec4ead.tar.gz libcg-893cb90f5dabdce79535d4cc32c07e95b3ec4ead.tar.xz libcg-893cb90f5dabdce79535d4cc32c07e95b3ec4ead.zip |
libcgroup: create function for cgroup_delete_cgroup
From: Sudhir Kumar <skumar@linux.vnet.ibm.com>
This patch creates the function test_cgroup_delete_cgroup(), to delete a
group in fs, and this way eliminates lot of redundant code. This patch
however may mesh up the numbering of testcases, which will be cleaned up
in a later patch once the functions are created for all other apis too.
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@287 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/libcgrouptest.h')
-rw-r--r-- | tests/libcgrouptest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h index 1be3829..a2644ae 100644 --- a/tests/libcgrouptest.h +++ b/tests/libcgrouptest.h @@ -87,6 +87,8 @@ struct cgroup *create_new_cgroup_ds(int ctl, const char *grpname, int value_type, int i); void test_cgroup_create_cgroup(int retcode, struct cgroup *cgrp, const char *name, int common, int mpnt, int ign, int i); +void test_cgroup_delete_cgroup(int retcode, struct cgroup *cgrp, + const char *name, int common, int mpnt, int ign, int i); /* API test functions end here */ void test_cgroup_compare_cgroup(int ctl1, int ctl2, int i); |