summaryrefslogtreecommitdiffstats
path: root/tests/libcgrouptest.h
diff options
context:
space:
mode:
authorBalbir Singh <balbir@linux.vnet.ibm.com>2008-12-17 15:21:32 +0000
committerBalbir Singh <balbir@linux.vnet.ibm.com>2008-12-17 15:21:32 +0000
commit5d16282a5f418bb7030ba33363bf570bec056a0b (patch)
tree02e9ff692544e629352e7fc7486008561685e09f /tests/libcgrouptest.h
parent605aab868944e847b679093a7fbd542053b76d31 (diff)
downloadlibcg-5d16282a5f418bb7030ba33363bf570bec056a0b.tar.gz
libcg-5d16282a5f418bb7030ba33363bf570bec056a0b.tar.xz
libcg-5d16282a5f418bb7030ba33363bf570bec056a0b.zip
libcgroup Test: libcgroup-split-new-cgroup-function
This patch splits the earlier created function new_cgroup() into two to make it more useful for other testcases. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@274 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/libcgrouptest.h')
-rw-r--r--tests/libcgrouptest.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h
index c04eaa6..983d9be 100644
--- a/tests/libcgrouptest.h
+++ b/tests/libcgrouptest.h
@@ -87,6 +87,8 @@ static int group_exist(char *path_group);
static int set_controller(int controller, char *controller_name,
char *control_file);
static int group_modified(char *path_control_file, int value_type);
+static int add_control_value(struct cgroup_controller *newcontroller,
+ char * control_file, char *wr, int value_type);
struct cgroup *new_cgroup(char *group, char *controller_name,
char *control_file, int value_type);
int check_fsmounted(int multimnt);