From a622675862ca59cae4662bff21a0c795e0108c65 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Fri, 30 Oct 2015 17:46:32 +0100 Subject: test-execute: add tests for IOSchedulingClass --- src/test/test-execute.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/test') diff --git a/src/test/test-execute.c b/src/test/test-execute.c index d708878a4d..158626f715 100644 --- a/src/test/test-execute.c +++ b/src/test/test-execute.c @@ -216,6 +216,13 @@ static void test_exec_oomscoreadjust(Manager *m) { test(m, "exec-oomscoreadjust-negative.service", 0, CLD_EXITED); } +static void test_exec_ioschedulingclass(Manager *m) { + test(m, "exec-ioschedulingclass-none.service", 0, CLD_EXITED); + test(m, "exec-ioschedulingclass-idle.service", 0, CLD_EXITED); + test(m, "exec-ioschedulingclass-realtime.service", 0, CLD_EXITED); + test(m, "exec-ioschedulingclass-best-effort.service", 0, CLD_EXITED); +} + int main(int argc, char *argv[]) { test_function_t tests[] = { test_exec_workingdirectory, @@ -234,6 +241,7 @@ int main(int argc, char *argv[]) { test_exec_runtimedirectory, test_exec_capabilityboundingset, test_exec_oomscoreadjust, + test_exec_ioschedulingclass, NULL, }; test_function_t *test = NULL; -- cgit v1.2.3-54-g00ecf