testsuite: add test to ignore unrelated strings in kcmdline
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 6 Mar 2014 04:24:32 +0000 (01:24 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 6 Mar 2014 04:30:56 +0000 (01:30 -0300)
commit42149024828509d93dd7d93464ac96b040160ba1
tree68f97149b9a2c6a4b739f7c45256938bf64fc573
parentbad84a9e6ef3f3ee0fb214d2b55d61b2e55aff2f
testsuite: add test to ignore unrelated strings in kcmdline

Strings unrelated to modules and modprobe should be ignored and not
appear in the output of "modprobe -c".

This adds a test for the fix provided in aa87854 ("libkmod-config: Only
match dot before '=' in /proc/cmdline").
testsuite/rootfs-pristine/test-modprobe/module-param-kcmdline3/correct.txt [new file with mode: 0644]
testsuite/rootfs-pristine/test-modprobe/module-param-kcmdline3/proc/cmdline [new file with mode: 0644]
testsuite/test-modprobe.c