summaryrefslogtreecommitdiff
path: root/src/test/test-sched-prio.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-05 12:14:55 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-05 12:14:55 +0200
commitf4906a277b533a9d51b16b3fcc8a651f21e3a3b8 (patch)
tree2cd097c3487274a4449161ec1e007a17599dd940 /src/test/test-sched-prio.c
parentc9912c5eafa03fdf53e569eaf2e89d7e0932975b (diff)
parent3b3a64d7546f77efe5ec7356c2f318401eeae19e (diff)
Merge pull request #1146 from martinpitt/master
tests: Skip tests which need to access /sys/fs/cgroup if that is not …
Diffstat (limited to 'src/test/test-sched-prio.c')
-rw-r--r--src/test/test-sched-prio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-sched-prio.c b/src/test/test-sched-prio.c
index f915539e00..ebc9110c4d 100644
--- a/src/test/test-sched-prio.c
+++ b/src/test/test-sched-prio.c
@@ -35,7 +35,7 @@ int main(int argc, char *argv[]) {
/* prepare the test */
assert_se(set_unit_path(TEST_DIR) >= 0);
r = manager_new(MANAGER_USER, true, &m);
- if (IN_SET(r, -EPERM, -EACCES, -EADDRINUSE, -EHOSTDOWN, -ENOENT)) {
+ if (IN_SET(r, -EPERM, -EACCES, -EADDRINUSE, -EHOSTDOWN, -ENOENT, -ENOEXEC)) {
printf("Skipping test: manager_new: %s", strerror(-r));
return EXIT_TEST_SKIP;
}