summaryrefslogtreecommitdiffstats
path: root/src/test/test-barrier.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-barrier.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-barrier.c')
-rw-r--r--src/test/test-barrier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-barrier.c b/src/test/test-barrier.c
index b87538806a..bbd7e2bddb 100644
--- a/src/test/test-barrier.c
+++ b/src/test/test-barrier.c
@@ -444,4 +444,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);