mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
testsuite: add test for empty modules.builtin.aliases.bin
This commit is contained in:
parent
e4a72e4754
commit
30c9c4d90f
@ -0,0 +1 @@
|
||||
# Aliases extracted from modules themselves.
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
kernel/fake_builtin.ko
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
# Device nodes to trigger on-demand module loading.
|
@ -0,0 +1 @@
|
||||
# Soft dependencies extracted from modules themselves.
|
@ -0,0 +1 @@
|
||||
# Aliases for symbols, used by symbol_request().
|
Binary file not shown.
@ -52,13 +52,20 @@ static noreturn int test_load_resources(const struct test *t)
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
DEFINE_TEST(test_load_resources,
|
||||
.description = "test if kmod_load_resources works",
|
||||
.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,
|
||||
.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/",
|
||||
[TC_UNAME_R] = "5.6.0",
|
||||
},
|
||||
.need_spawn = true);
|
||||
|
||||
static noreturn int test_initlib(const struct test *t)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user