Skip to content

Commit

Permalink
testsuite/test-init: use distinct test names
Browse files Browse the repository at this point in the history
Signed-off-by: Emil Velikov <[email protected]>
  • Loading branch information
evelikov committed Nov 15, 2024
1 parent 33001dc commit b05bff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/test-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ 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/",
[TC_UNAME_R] = "5.6.0",
},
.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/",
Expand Down

0 comments on commit b05bff5

Please sign in to comment.