diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-02 03:06:41 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2022-02-02 12:06:54 +0100 |
commit | e85fdacc8ad7d91f140a135aaa3fd5372d3fa47c (patch) | |
tree | 4b593de8c600fd444c48e77a71fd2b2463ae4ff6 /src/test/test-sd-hwdb.c | |
parent | Merge pull request #22359 from yuwata/mkdir-fix (diff) | |
download | systemd-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.c | 2 |
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); |