]> git.ipfire.org Git - thirdparty/grub.git/commit
tests/util/grub-fs-tester: Fix EROFS label tests in grub-fs-tester
authorYifan Zhao <zhaoyifan@sjtu.edu.cn>
Wed, 12 Jun 2024 07:28:41 +0000 (15:28 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 20 Jun 2024 13:23:08 +0000 (15:23 +0200)
commitb990df0bef9eb9f8ed4a111dfb0cdf6f88ff8829
treebf667afe30009c530f47a148c73a7ea9cc4d73f2
parentd41c64811d6859c63c1d46da326771a2d32d2d2f
tests/util/grub-fs-tester: Fix EROFS label tests in grub-fs-tester

mkfs.erofs with version < 1.6 does not support the -L option.
Let's detect the version of mkfs.erofs and skip the label tests
if it is not supported.

Suggested-by: Glenn Washburn <development@efficientek.com>
Signed-off-by: Yifan Zhao <zhaoyifan@sjtu.edu.cn>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-fs-tester.in