]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: iso9660: add new test images
authorPali Rohár <pali.rohar@gmail.com>
Thu, 10 Dec 2020 01:38:06 +0000 (02:38 +0100)
committerPali Rohár <pali.rohar@gmail.com>
Thu, 10 Dec 2020 01:38:06 +0000 (02:38 +0100)
commiteb6a4cc2e1e28f5e297378fb384e297dd238f7e2
tree047c7f1bae6f72d8090c3ea36787895cdecd2832
parent5cbffdb74f6fec51b2cf260bea66375823fe65e7
libblkid: iso9660: add new test images

Image iso-different-iso-joliet-label contains different identifiers in ISO
and Joliet locations. Identifiers are prefixed with "ISO" or "Joliet"
string to verify that UNICODE Joliet has preference over ASCII ISO.

Image iso-unicode-long-label contains very long identifiers in ISO location
which do not fit into the Joliet location. In ISO location is UNICODE
character 'ï' replaced by '_' and unrepresentable spaces also by '_'.
This test verifies that libblkid can use first half of identifiers from
Joliet (which contains UNICODE) and second half from ISO which is just
uppercase and only small subset of ASCII. This image was generated by Nero
Linux software and basically this truncate and '_' replacement is done by
default for any long or UNICODE label.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
tests/expected/blkid/low-probe-iso-different-iso-joliet-label [new file with mode: 0644]
tests/expected/blkid/low-probe-iso-unicode-long-label [new file with mode: 0644]
tests/ts/blkid/images-fs/iso-different-iso-joliet-label.img.xz [new file with mode: 0644]
tests/ts/blkid/images-fs/iso-unicode-long-label.img.xz [new file with mode: 0644]