mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 23:20:32 +00:00
test: move intro() near DEFINE_TEST_MAIN_WITH_INTRO()
This commit is contained in:
@@ -643,11 +643,6 @@ TEST(chaseat) {
|
||||
result = mfree(result);
|
||||
}
|
||||
|
||||
static int intro(void) {
|
||||
arg_test_dir = saved_argv[1];
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
TEST(chaseat_prefix_root) {
|
||||
_cleanup_free_ char *cwd = NULL, *ret = NULL, *expected = NULL;
|
||||
|
||||
@@ -685,4 +680,9 @@ TEST(chaseat_prefix_root) {
|
||||
assert_se(streq(ret, expected));
|
||||
}
|
||||
|
||||
static int intro(void) {
|
||||
arg_test_dir = saved_argv[1];
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
DEFINE_TEST_MAIN_WITH_INTRO(LOG_INFO, intro);
|
||||
|
||||
Reference in New Issue
Block a user