mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-24 07:20:52 +07:00
testsuite: port kcmdline test to module-playground
This commit is contained in:
parent
621ac887e7
commit
246d67d493
@ -33,6 +33,7 @@ map=(
|
||||
["test-modprobe/oldkernel/lib/modules/3.3.3/kernel/"]="mod-simple.ko"
|
||||
["test-modprobe/oldkernel-force/lib/modules/3.3.3/kernel/"]="mod-simple.ko"
|
||||
["test-modprobe/alias-to-none/lib/modules/4.4.4/kernel/"]="mod-simple.ko"
|
||||
["test-modprobe/module-param-kcmdline/lib/modules/4.4.4/kernel/"]="mod-simple.ko"
|
||||
)
|
||||
|
||||
for k in ${!map[@]}; do
|
||||
|
@ -1 +1 @@
|
||||
insmod /lib/modules/4.4.4/kernel/drivers/input/mouse/psmouse.ko foo bar=1
|
||||
insmod /lib/modules/4.4.4/kernel/mod-simple.ko foo bar=1
|
||||
|
Binary file not shown.
@ -1,3 +1 @@
|
||||
# Aliases extracted from modules themselves.
|
||||
alias serio:ty05pr*id*ex* psmouse
|
||||
alias serio:ty01pr*id*ex* psmouse
|
||||
|
Binary file not shown.
@ -1 +1 @@
|
||||
kernel/drivers/input/mouse/psmouse.ko:
|
||||
kernel/mod-simple.ko:
|
||||
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
# Soft dependencies extracted from modules themselves.
|
||||
# Copy, with a .conf extension, to /etc/modprobe.d to use it with modprobe.
|
||||
|
@ -1 +1 @@
|
||||
initrd=\initramfs-linux.img psmouse.foo psmouse.bar=1 root=/dev/sda2 rootfstype=ext4 add_efi_memmap quiet rw
|
||||
initrd=\initramfs-linux.img mod_simple.foo mod_simple.bar=1 root=/dev/sda2 rootfstype=ext4 add_efi_memmap quiet rw
|
||||
|
@ -167,7 +167,7 @@ static noreturn int modprobe_param_kcmdline(const struct test *t)
|
||||
const char *progname = ABS_TOP_BUILDDIR "/tools/modprobe";
|
||||
const char *const args[] = {
|
||||
progname,
|
||||
"--show-depends", "psmouse",
|
||||
"--show-depends", "mod-simple",
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user