History log of /external/kmod/testsuite/rootfs-pristine/test-modprobe/alias-to-none/etc/modprobe.d/bogus.conf
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bf0b87f4e63eb7822a52f53fc85f043bc88f9779 11-Feb-2015 Lucas De Marchi <lucas.demarchi@intel.com> testsuite: port alias-to-none test to module-playground
/external/kmod/testsuite/rootfs-pristine/test-modprobe/alias-to-none/etc/modprobe.d/bogus.conf
5278396d987f5da11ecc3d3e5750083ff1df4f89 21-Mar-2013 Lucas De Marchi <lucas.de.marchi@gmail.com> testsuite: Add test to check if modprobe explodes on bogus config

Put this one /etc/modprobe.d/bougs.conf:

alias psmouse deaddood

`modprobe --show-depends --quiet psmouse` explodes in an assertion
(unless you have a module named deaddood). Some people and initrd's use
"alias psmouse off" to disable a module instead of blacklisting it or
adding a install rule.

Add a test with expected_fail == true before fixing this.
/external/kmod/testsuite/rootfs-pristine/test-modprobe/alias-to-none/etc/modprobe.d/bogus.conf