From: Pali Rohár Date: Mon, 1 May 2017 11:03:55 +0000 (+0200) Subject: tests: Add UDF CD-ROM hybrid image (ISO+Joliet+UDF) created by Nero 6 X-Git-Tag: v2.30-rc1~14^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f01f74331eaf175be427a0891012b592869eaf;p=thirdparty%2Futil-linux.git tests: Add UDF CD-ROM hybrid image (ISO+Joliet+UDF) created by Nero 6 This image was created by Nero Burning ROM version 6 via option CD-ROM (UDF/ISO) with UDF version 2.01 and enabled ISO Joliet extension. Moreover for testing purposes it has set custom Disc label (and also every other identifier) which is different for ISO, Joiliet and UDF part. It contains ISO/Joliet/UDF string prefix to distinguish between them. So reading this image as basic ISO would produce different label as when reading it as ISO with Joliet image and also different as UDF image. Windows detects its label as "UDF Label". Before commit ccfb5b0a1d318c1ac96884c70c7b5090331849fc blkid show label for this image as "Joliet Label" and after as "UDF Label". Note that it is not common to have such images with different label stored in Joliet part and in UDF part. Moreover it is very hard to generate them. --- diff --git a/tests/expected/blkid/low-probe-udf-cd-nero-6 b/tests/expected/blkid/low-probe-udf-cd-nero-6 new file mode 100644 index 0000000000..f76f31643a --- /dev/null +++ b/tests/expected/blkid/low-probe-udf-cd-nero-6 @@ -0,0 +1,9 @@ +ID_FS_LABEL=UDF_Label +ID_FS_LABEL_ENC=UDF\x20Label +ID_FS_LOGICAL_VOLUME_ID=UDF Label +ID_FS_TYPE=udf +ID_FS_USAGE=filesystem +ID_FS_UUID=4AA16678B55E9987 +ID_FS_UUID_ENC=4AA16678B55E9987 +ID_FS_VOLUME_ID=UDF Label +ID_FS_VOLUME_SET_ID=4AA16678B55E9987 diff --git a/tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz b/tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz new file mode 100644 index 0000000000..673fa62451 Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz differ