]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
testsuite/depmod: Remove bogus rootfs from test
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 14 Nov 2024 16:53:39 +0000 (10:53 -0600)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 21 Nov 2024 04:25:30 +0000 (22:25 -0600)
The testsuite rootfs shouldn't be part of the argument.

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/243
testsuite/test-depmod.c

index 569a5e3adeae4fd5a142229a34095545eae3d4d0..0105493930fb62eadeda8094eb7f022f9e3bd8ef 100644 (file)
@@ -53,7 +53,7 @@ static noreturn int depmod_modules_outdir(const struct test *t)
        const char *const args[] = {
                // clang-format off
                progname,
-               "--outdir", MODULES_OUTDIR_ROOTFS "/outdir/",
+               "--outdir", "/outdir/",
                NULL,
                // clang-format on
        };
@@ -61,7 +61,6 @@ static noreturn int depmod_modules_outdir(const struct test *t)
        test_spawn_prog(progname, args);
        exit(EXIT_FAILURE);
 }
-
 DEFINE_TEST(depmod_modules_outdir,
        .description = "check if depmod honours the outdir option",
        .config = {