From: Dawid Osuchowski Date: Sat, 26 Apr 2025 19:58:57 +0000 (+0200) Subject: testsuite: fix dirty rootfs error message X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b728f179fd62ab126711304548b038f24c6ef8f;p=thirdparty%2Fkmod.git testsuite: fix dirty rootfs error message Running a test binary directly on a dirty rootfs results in the following error message: ERR: rootfs is dirty, please run 'meson compile testsuite/stamp-rootfs' before running this test Running the command specified by the error message fails: $ meson compile testsuite/stamp-rootfs ERROR: Can't invoke target `testsuite/stamp-rootfs`: target not found Fix the error message to display the proper target. Fixes: b85b2a0 ("testsuite: update "make rootfs" error message") Signed-off-by: Dawid Osuchowski Signed-off-by: Lucas De Marchi --- diff --git a/testsuite/testsuite.c b/testsuite/testsuite.c index 3a55e2f2..0407a7b5 100644 --- a/testsuite/testsuite.c +++ b/testsuite/testsuite.c @@ -261,7 +261,7 @@ static inline int test_run_child(const struct test *t, int fdout[2], int fderr[2 } if (stat_mstamp(&rootfsst) > stat_mstamp(&stampst)) { - ERR("rootfs %s is dirty, please run 'meson compile testsuite/stamp-rootfs' before running this test\n", + ERR("rootfs %s is dirty, please run 'meson compile testsuite/create-rootfs' before running this test\n", rootfs); exit(EXIT_FAILURE); }