]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests/erofs_test: Disable filetime check for erofs_compact
authorGlenn Washburn <development@efficientek.com>
Thu, 13 Nov 2025 03:10:41 +0000 (21:10 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 18 Nov 2025 11:49:32 +0000 (12:49 +0100)
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 <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
tests/util/grub-fs-tester.in

index f8181837e1e6e873eadb3f81b819021d03f9b689..5b15007e53f932786d96af14034fadf772805724 100644 (file)
@@ -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