diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-07-10 19:24:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-10 23:41:03 +0200 |
commit | 6fa4853328e3d78d092172fa54effb7e785d0a85 (patch) | |
tree | df7ec622c6f825f6470be62f49dfcaac2d020e71 /src/test | |
parent | 376dd21dc0757e8a6d3f60d6d21bb802a90f1983 (diff) |
core: serialize/deserialize bus subscribers
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-engine.c | 2 | ||||
-rw-r--r-- | src/test/test-sched-prio.c | 2 | ||||
-rw-r--r-- | src/test/test-unit-name.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test-engine.c b/src/test/test-engine.c index 0f3862226a..20ae103a19 100644 --- a/src/test/test-engine.c +++ b/src/test/test-engine.c @@ -33,7 +33,7 @@ int main(int argc, char *argv[]) { assert_se(set_unit_path("test") >= 0); - assert_se(manager_new(SYSTEMD_SYSTEM, &m) >= 0); + assert_se(manager_new(SYSTEMD_SYSTEM, false, &m) >= 0); printf("Load1:\n"); assert_se(manager_load_unit(m, "a.service", NULL, NULL, &a) >= 0); diff --git a/src/test/test-sched-prio.c b/src/test/test-sched-prio.c index ba0aacf79d..7af740757a 100644 --- a/src/test/test-sched-prio.c +++ b/src/test/test-sched-prio.c @@ -34,7 +34,7 @@ int main(int argc, char *argv[]) { /* prepare the test */ assert_se(set_unit_path(TEST_DIR) >= 0); - r = manager_new(SYSTEMD_USER, &m); + r = manager_new(SYSTEMD_USER, false, &m); if (r == -EPERM) { puts("manager_new: Permission denied. Skipping test."); return EXIT_TEST_SKIP; diff --git a/src/test/test-unit-name.c b/src/test/test-unit-name.c index 86cb2b8da6..93bf28aace 100644 --- a/src/test/test-unit-name.c +++ b/src/test/test-unit-name.c @@ -123,7 +123,7 @@ static int test_unit_printf(void) { assert_se((root = getpwnam("root"))); assert_se(asprintf(&root_uid, "%d", (int) root->pw_uid) > 0); - r = manager_new(SYSTEMD_USER, &m); + r = manager_new(SYSTEMD_USER, false, &m); if (r == -EPERM) { puts("manager_new: Permission denied. Skipping test."); return EXIT_TEST_SKIP; |