diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-08 16:37:15 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-11 14:55:57 +0100 |
commit | 5eecb1030ffd55296112a3308beca7beca5903b6 (patch) | |
tree | fdc668d8aafce998c03cfe82b4ab6a048e4461fb /src/test/test-unit-name.c | |
parent | core: split out one more function (diff) | |
download | systemd-5eecb1030ffd55296112a3308beca7beca5903b6.tar.xz systemd-5eecb1030ffd55296112a3308beca7beca5903b6.zip |
tests: make manager_skip_test() not a macro and move to tests.h
There is nothing magic in it.
Diffstat (limited to 'src/test/test-unit-name.c')
-rw-r--r-- | src/test/test-unit-name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-unit-name.c b/src/test/test-unit-name.c index c9bbce0d2e..52c75406ae 100644 --- a/src/test/test-unit-name.c +++ b/src/test/test-unit-name.c @@ -209,7 +209,7 @@ static int test_unit_printf(void) { assert_se(get_shell(&shell) >= 0); r = manager_new(UNIT_FILE_USER, MANAGER_TEST_RUN_MINIMAL, &m); - if (MANAGER_SKIP_TEST(r)) + if (manager_errno_skip_test(r)) return log_tests_skipped_errno(r, "manager_new"); assert_se(r == 0); |