summaryrefslogtreecommitdiff
path: root/src/test/test-execute.c
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2014-12-10 10:20:11 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-10 13:36:10 +0100
commit0eb3cc88504b5d8f740764047ac5162b67992386 (patch)
tree541783ac0192d5022d88c0291042cf6f9a66afdb /src/test/test-execute.c
parent536bfdab4cca38916ec8b112a6f80b0c068cc806 (diff)
test: fix some tests when running inside a container
Diffstat (limited to 'src/test/test-execute.c')
-rw-r--r--src/test/test-execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index 85deb27f43..60466f0d3f 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -164,7 +164,7 @@ int main(int argc, char *argv[]) {
r = manager_new(SYSTEMD_USER, true, &m);
if (IN_SET(r, -EPERM, -EACCES, -EADDRINUSE, -EHOSTDOWN, -ENOENT)) {
printf("Skipping test: manager_new: %s", strerror(-r));
- return -EXIT_TEST_SKIP;
+ return EXIT_TEST_SKIP;
}
assert_se(r >= 0);
assert_se(manager_startup(m, NULL, NULL) >= 0);