Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various test prep work #246

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
lucasdemarchi marked this conversation as resolved.
Show resolved Hide resolved
.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