testsuite: give a more suitable description to test
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 6 Mar 2014 04:14:12 +0000 (01:14 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 6 Mar 2014 04:30:08 +0000 (01:30 -0300)
We are not only checking if those options are correctly parsed from
kcmdline, but if in fact they are being passed to the final
(f)init_module call. This is why we use 'modprobe --show-depends'
instead of the simpler 'modprobe -c'.

testsuite/test-modprobe.c

index 492b4d8..b5eaba3 100644 (file)
@@ -176,7 +176,7 @@ static noreturn int modprobe_param_kcmdline(const struct test *t)
        exit(EXIT_FAILURE);
 }
 static DEFINE_TEST(modprobe_param_kcmdline,
-       .description = "check if params are parsed correctly from kcmdline",
+       .description = "check if params from kcmdline are passed in fact passed to (f)init_module call",
        .config = {
                [TC_UNAME_R] = "4.4.4",
                [TC_ROOTFS] = TESTSUITE_ROOTFS "test-modprobe/module-param-kcmdline",