summaryrefslogtreecommitdiffstats
path: root/src/test/test-sd-hwdb.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-sd-hwdb.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-sd-hwdb.c')
-rw-r--r--src/test/test-sd-hwdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-sd-hwdb.c b/src/test/test-sd-hwdb.c
index 88992a6c2b..4251e2a809 100644
--- a/src/test/test-sd-hwdb.c
+++ b/src/test/test-sd-hwdb.c
@@ -63,4 +63,4 @@ static int intro(void) {
return EXIT_SUCCESS;
}
-DEFINE_CUSTOM_TEST_MAIN(LOG_DEBUG, intro, test_nop);
+DEFINE_TEST_MAIN_WITH_INTRO(LOG_DEBUG, intro);