diff options
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rw-r--r-- | tests/get_all_controller.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 14bcdf3..1161292 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = -I$(top_srcdir)/include 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 @@ -14,6 +14,7 @@ walk_task_SOURCES=walk_task.c 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 diff --git a/tests/get_all_controller.c b/tests/get_all_controller.c index 3df3ca8..d643c98 100644 --- a/tests/get_all_controller.c +++ b/tests/get_all_controller.c @@ -22,7 +22,7 @@ int main() 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); } |