]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Add test for iso9660 delayed CE hop
authorThomas Schmitt <scdbackup@gmx.net>
Tue, 7 Mar 2023 16:56:51 +0000 (17:56 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 13 Apr 2023 12:54:20 +0000 (14:54 +0200)
commit3c6bebf9bb3a3a1b5dc8f14e5fed2ba7bf9daa59
tree423d59a5b1b7b36c3a85b46230ea5fb5f53ca3d7
parentd6f12ffaf8d0795e17e49b1a9723d3541aa3f277
tests: Add test for iso9660 delayed CE hop

The ISO filesystem image iso9660_early_ce.iso exposes the unusual
situation that the Rock Ridge name entry of its only file is located
after a CE entry which points to the next continuation area.

The correct behavior is to read the Rock Ridge name and to only then
load the next continuation area. If GRUB performs this correctly, then
the name "RockRidgeName:x" will be read and reported by grub-fstest.
If GRUB wrongly performs the CE hop immediately when encountering the CE
entry, then the dull ISO 9660 name "rockridg" will not be overridden and
be put out by grub-fstest.

Signed-off-by: Thomas Schmitt <scdbackup@gmx.net>
Tested-by: Lidong Chen <lidong.chen@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/iso9660_early_ce.iso.gz [new file with mode: 0644]
tests/iso9660_test.in