From 7b728f179fd62ab126711304548b038f24c6ef8f Mon Sep 17 00:00:00 2001 From: Dawid Osuchowski Date: Sat, 26 Apr 2025 21:58:57 +0200 Subject: [PATCH] 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 --- testsuite/testsuite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.47.2