From: Lucas De Marchi Date: Thu, 14 Nov 2024 16:53:39 +0000 (-0600) Subject: testsuite/depmod: Remove bogus rootfs from test X-Git-Tag: v34~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=babcee5c124a7734431298133912146908ec978c;p=thirdparty%2Fkmod.git testsuite/depmod: Remove bogus rootfs from test The testsuite rootfs shouldn't be part of the argument. Signed-off-by: Lucas De Marchi Reviewed-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/243 --- diff --git a/testsuite/test-depmod.c b/testsuite/test-depmod.c index 569a5e3a..01054939 100644 --- a/testsuite/test-depmod.c +++ b/testsuite/test-depmod.c @@ -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 = {