diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-05 12:14:55 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-05 12:14:55 +0200 |
commit | f4906a277b533a9d51b16b3fcc8a651f21e3a3b8 (patch) | |
tree | 2cd097c3487274a4449161ec1e007a17599dd940 /src/test/test-engine.c | |
parent | c9912c5eafa03fdf53e569eaf2e89d7e0932975b (diff) | |
parent | 3b3a64d7546f77efe5ec7356c2f318401eeae19e (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-engine.c')
-rw-r--r-- | src/test/test-engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-engine.c b/src/test/test-engine.c index a7ab21a415..6596069ade 100644 --- a/src/test/test-engine.c +++ b/src/test/test-engine.c @@ -38,7 +38,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; } |