diff options
author | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-12-22 18:50:46 +0000 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2008-12-22 18:50:46 +0000 |
commit | fdaf63f9d49e4ed53a6dc9238856cbf8c663c2e1 (patch) | |
tree | 0dbe9fb576a55a08c1656b258ae3c2078125e174 /tests/libcgrouptest.h | |
parent | 2517466058ffb183ed83cd1b05f6f51b7a511a56 (diff) | |
download | libcg-fdaf63f9d49e4ed53a6dc9238856cbf8c663c2e1.tar.gz libcg-fdaf63f9d49e4ed53a6dc9238856cbf8c663c2e1.tar.xz libcg-fdaf63f9d49e4ed53a6dc9238856cbf8c663c2e1.zip |
libcgroup: libcgroup testcases for cgroup_get_cgroup
From: Sudhir Kumar <skumar@linux.vnet.ibm.com>
This atch adds a new testcase for api cgroup_get_cgroup()
for single mount case.
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@282 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/libcgrouptest.h')
-rw-r--r-- | tests/libcgrouptest.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h index de2f67b..73b25e3 100644 --- a/tests/libcgrouptest.h +++ b/tests/libcgrouptest.h @@ -84,6 +84,7 @@ void test_cgroup_attach_task(int retcode, struct cgroup *cgroup1, /* API test functions end here */ void test_cgroup_compare_cgroup(int ctl1, int ctl2, int i); +void test_cgroup_get_cgroup(int i); void get_controllers(const char *name, int *exist); static int group_exist(char *path_group); static int set_controller(int controller, char *controller_name, |