summaryrefslogtreecommitdiffstats
path: root/src/test/test-unit-name.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-02-02 03:06:41 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2022-02-02 12:06:54 +0100
commite85fdacc8ad7d91f140a135aaa3fd5372d3fa47c (patch)
tree4b593de8c600fd444c48e77a71fd2b2463ae4ff6 /src/test/test-unit-name.c
parentMerge pull request #22359 from yuwata/mkdir-fix (diff)
downloadsystemd-e85fdacc8ad7d91f140a135aaa3fd5372d3fa47c.tar.xz
systemd-e85fdacc8ad7d91f140a135aaa3fd5372d3fa47c.zip
test: allow to set NULL to intro or outro
Addresses https://github.com/systemd/systemd/pull/22338#discussion_r796741033.
Diffstat (limited to 'src/test/test-unit-name.c')
-rw-r--r--src/test/test-unit-name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-unit-name.c b/src/test/test-unit-name.c
index 1f65407e5f..8cd0e0b4a1 100644
--- a/src/test/test-unit-name.c
+++ b/src/test/test-unit-name.c
@@ -856,4 +856,4 @@ static int intro(void) {
return EXIT_SUCCESS;
}
-DEFINE_CUSTOM_TEST_MAIN(LOG_INFO, intro, test_nop);
+DEFINE_TEST_MAIN_WITH_INTRO(LOG_INFO, intro);