LDADD = $(top_srcdir)/src/.libs/libcgroup.la
# compile the tests, but do not install them
-noinst_PROGRAMS = libcgrouptest01 libcg_ba setuid pathtest walk_test read_stats walk_task get_controller get_mount_point proctest
+noinst_PROGRAMS = libcgrouptest01 libcg_ba setuid pathtest walk_test read_stats walk_task get_controller get_mount_point proctest get_all_controller
libcgrouptest01_SOURCES=libcgrouptest01.c test_functions.c libcgrouptest.h
libcg_ba_SOURCES=libcg_ba.cpp
get_controller_SOURCES=get_controller.c
get_mount_point_SOURCES=get_mount_point.c
proctest_SOURCES=proctest.c
+get_all_controller_SOURCES=get_all_controller.c
EXTRA_DIST = pathtest.sh runlibcgrouptest.sh
info.hierarchy, info.num_cgroups, info.enabled);
error = cgroup_get_all_controller_next(&handle, &info);
if (error && error != ECGEOF) {
- printf("cgroup_get_contrller_next failed with %s\n",
+ printf("cgroup_get_controller_next failed with %s\n",
cgroup_strerror(error));
exit(1);
}