summaryrefslogtreecommitdiffstats
path: root/tests/libcgrouptest.h
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-12-22 18:49:15 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-12-22 18:49:15 +0000
commit2517466058ffb183ed83cd1b05f6f51b7a511a56 (patch)
tree0d49c351f0c10dda989e3e748980f443d6103bcd /tests/libcgrouptest.h
parent7f0f54d78fe04ee16a82a1cc40687395ce684dd7 (diff)
downloadlibcg-2517466058ffb183ed83cd1b05f6f51b7a511a56.tar.gz
libcg-2517466058ffb183ed83cd1b05f6f51b7a511a56.tar.xz
libcg-2517466058ffb183ed83cd1b05f6f51b7a511a56.zip
libcgroup: libcgroup testcases for compare_cgroup
From: Sudhir Kumar <skumar@linux.vnet.ibm.com> This patch adds a testcase for cgroup_compare_cgroup() wrapper. 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@281 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/libcgrouptest.h')
-rw-r--r--tests/libcgrouptest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h
index 925a5a9..de2f67b 100644
--- a/tests/libcgrouptest.h
+++ b/tests/libcgrouptest.h
@@ -83,6 +83,7 @@ void test_cgroup_attach_task(int retcode, struct cgroup *cgroup1,
int fs_info, int k, int i);
/* API test functions end here */
+void test_cgroup_compare_cgroup(int ctl1, int ctl2, 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,