From: Emil Velikov Date: Fri, 15 Nov 2024 15:44:26 +0000 (+0000) Subject: testsuite/test-init: use distinct test names X-Git-Tag: v34~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d75b9949aa4589d927622f8627718d09fbba3abf;p=thirdparty%2Fkmod.git 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 --- 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/",