test: allow to set NULL to intro or outro

Addresses https://github.com/systemd/systemd/pull/22338#discussion_r796741033.
This commit is contained in:
Yu Watanabe
2022-02-02 11:06:54 +00:00
committed by Luca Boccassi
parent b0c7e3d0e1
commit e85fdacc8a
22 changed files with 44 additions and 43 deletions
+1 -1
View File
@@ -71,4 +71,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);