]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: Add UDF CD-ROM hybrid image (ISO+Joliet+UDF) created by Nero 6
authorPali Rohár <pali.rohar@gmail.com>
Mon, 1 May 2017 11:03:55 +0000 (13:03 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Fri, 5 May 2017 16:38:15 +0000 (18:38 +0200)
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.

tests/expected/blkid/low-probe-udf-cd-nero-6 [new file with mode: 0644]
tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz [new file with mode: 0644]

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 (file)
index 0000000..f76f316
--- /dev/null
@@ -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 (file)
index 0000000..673fa62
Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz differ