summaryrefslogtreecommitdiff
path: root/src/test/test-path.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-path.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-path.c')
-rw-r--r--src/test/test-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c
index 5d190378f1..676c9f1793 100644
--- a/src/test/test-path.c
+++ b/src/test/test-path.c
@@ -40,7 +40,7 @@ static int setup_test(Manager **m) {
assert_se(m);
r = manager_new(MANAGER_USER, true, &tmp);
- 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;
}