]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Support changed mkfs.ext2 behavior for -r flag
authorAndrew Hamilton <adhamilt@gmail.com>
Fri, 14 Nov 2025 23:40:10 +0000 (17:40 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 18 Nov 2025 11:49:32 +0000 (12:49 +0100)
commite4e99a8f84d4481f977306ec510865e4783db258
treee44127f1717458b5f7fe95018f8526ce452ee8cc
parenta377cd67d0519b84ce8a01dfc261924890329946
tests: Support changed mkfs.ext2 behavior for -r flag

Correct nuisance ext234_test failure on newer Linux distros.

Recently, the mkfs.ext2 utility removed support for the -r flag to
specify old (version 0) formats of ext2. A new flag was added to allow
the same behavior. Support both ways of specifying version 0 ext2 file
systems when testing ext2 in GRUB.

Signed-off-by: Andrew Hamilton <adhamilt@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Glenn Washburn <development@efficientek.com>
tests/util/grub-fs-tester.in