summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libcgrouptest01.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libcgrouptest01.c b/tests/libcgrouptest01.c
index a070109..af98d33 100644
--- a/tests/libcgrouptest01.c
+++ b/tests/libcgrouptest01.c
@@ -838,9 +838,12 @@ int main(int argc, char *argv[])
retval = cgroup_modify_cgroup(mod_common_cgroup);
/* Check if the values are changed */
if (!retval) {
+ set_controller(ctl1, controller_name, control_file);
build_path(path_control_file, mountpoint,
"commongroup", control_file);
if (!group_modified(path_control_file, STRING)) {
+ set_controller(ctl2, controller_name,
+ control_file);
build_path(path_control_file, mountpoint2,
"commongroup", control_file);
if (!group_modified(path_control_file, STRING)) {