From a94d3ab7fc75cfc473efa203e235c817d99875b2 Mon Sep 17 00:00:00 2001 From: Glenn Washburn Date: Wed, 12 Nov 2025 21:10:41 -0600 Subject: [PATCH] tests/erofs_test: Disable filetime check for erofs_compact Compact EROFS inodes do not allow for modification times that are different from FS creation times. The file modification time check is done between the EROFS image and the file system where test temporary files are written to, not the files as seen from the mounted EROFS image. So its likely that the file modification time will be different, more so when run on slower systems. Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper Reviewed-by: Sudhakar Kuppusamy --- tests/util/grub-fs-tester.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index f8181837e..5b15007e5 100644 --- a/tests/util/grub-fs-tester.in +++ b/tests/util/grub-fs-tester.in @@ -590,6 +590,10 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do # FS LIMITATION: romfs has no timestamps. x"romfs") NOFILETIME=y; NOFSTIME=y;; + # FS LIMITATION: Compact inodes do not allow for modification + # times that are different from FS creation times. + x"erofs_compact") + NOFILETIME=y;; esac NOFSLABEL=n