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>
This commit is contained in:
Pali Rohár 2020-12-10 02:38:06 +01:00
parent 5cbffdb74f
commit eb6a4cc2e1
4 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
ID_FS_APPLICATION_ID=Joliet Application
ID_FS_BLOCK_SIZE=2048
ID_FS_DATA_PREPARER_ID=Joliet Preparer
ID_FS_LABEL=Joliet_Label
ID_FS_LABEL_ENC=Joliet\x20Label
ID_FS_PUBLISHER_ID=Joliet Publisher
ID_FS_SYSTEM_ID=Joliet System id
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_FS_VERSION=Joliet\x20Extension
ID_FS_VOLUME_SET_ID=Joliet Volume set

View File

@ -0,0 +1,11 @@
ID_FS_APPLICATION_ID=Nero Linux
ID_FS_BLOCK_SIZE=2048
ID_FS_DATA_PREPARER_ID=Naïve and very looooooooooooooooooooooooooooooooooooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG DATA PREPARER
ID_FS_LABEL=Naïve_and_very_lOOOOOOOONG_LABEL
ID_FS_LABEL_ENC=Naïve\x20and\x20very\x20lOOOOOOOONG_LABEL
ID_FS_PUBLISHER_ID=Naïve and very looooooooooooooooooooooooooooooooooooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG PUBLISHER
ID_FS_SYSTEM_ID=Naïve and very lONG SYSTEM IDENT
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_FS_VERSION=Joliet\x20Extension
ID_FS_VOLUME_SET_ID=Naïve and very looooooooooooooooooooooooooooooooooooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG_VOLUME_SET

Binary file not shown.