summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/libcgrouptest.h2
-rw-r--r--tests/runlibcgrouptest.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h
index 0b10415..c04eaa6 100644
--- a/tests/libcgrouptest.h
+++ b/tests/libcgrouptest.h
@@ -43,8 +43,8 @@ enum cgroup_mount_t {
};
enum controller_t {
- MEMORY,
CPU,
+ MEMORY,
CPUSET,
/* Add new controllers here */
};
diff --git a/tests/runlibcgrouptest.sh b/tests/runlibcgrouptest.sh
index 843b44b..c34ca0a 100644
--- a/tests/runlibcgrouptest.sh
+++ b/tests/runlibcgrouptest.sh
@@ -252,7 +252,7 @@ mount_fs ()
echo "WARN: Earlier groups found and removed...";
fi;
- debug "cgroup filesystem mounted on $NEWTARGET directory"
+ debug "$CONTROLLERS controllers mounted on $NEWTARGET directory"
done;
if [ $FS_MOUNTED -gt 2 ]
@@ -274,8 +274,8 @@ get_ctl_num()
# Add any new controller developed here
declare -a ctl_list;
# Following list has to be in sync with enums in header
- ctl_list[0]="memory";
- ctl_list[1]="cpu";
+ ctl_list[0]="cpu";
+ ctl_list[1]="memory";
ctl_list[2]="cpuset";
local i=0;