From d75b9949aa4589d927622f8627718d09fbba3abf Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 15 Nov 2024 15:44:26 +0000 Subject: [PATCH] testsuite/test-init: use distinct test names Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/246 Signed-off-by: Lucas De Marchi --- testsuite/test-init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/test-init.c b/testsuite/test-init.c index 2c825dfb..3bfb14ee 100644 --- a/testsuite/test-init.c +++ b/testsuite/test-init.c @@ -39,7 +39,7 @@ static noreturn int test_load_resources(const struct test *t) exit(EXIT_SUCCESS); } -DEFINE_TEST(test_load_resources, +DEFINE_TEST_WITH_FUNC(test_load_resource1, test_load_resources, .description = "test if kmod_load_resources works (recent modprobe on kernel without modules.builtin.modinfo)", .config = { [TC_ROOTFS] = TESTSUITE_ROOTFS "test-init-load-resources/", @@ -47,7 +47,7 @@ DEFINE_TEST(test_load_resources, }, .need_spawn = true); -DEFINE_TEST(test_load_resources, +DEFINE_TEST_WITH_FUNC(test_load_resource2, test_load_resources, .description = "test if kmod_load_resources works with empty modules.builtin.aliases.bin (recent depmod on kernel without modules.builtin.modinfo)", .config = { [TC_ROOTFS] = TESTSUITE_ROOTFS "test-init-load-resources-empty-builtin-aliases-bin/", -- 2.47.2