]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: Add UDF cd image created by mkudfiso 20100208
authorPali Rohár <pali.rohar@gmail.com>
Thu, 16 Nov 2017 18:45:16 +0000 (19:45 +0100)
committerPali Rohár <pali.rohar@gmail.com>
Thu, 16 Nov 2017 18:45:16 +0000 (19:45 +0100)
$ mkudfiso -v "Volume Label" . | tail -n +2 > udf-cd-mkudfiso-20100208.img

mkudfiso 20100208 creates UDF images without valid LVID (and LVIDIU), so it
is a good candidate for testing fallback code for ID_FS_VERSION.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
tests/expected/blkid/low-probe-udf-cd-mkudfiso-20100208 [new file with mode: 0644]
tests/ts/blkid/images-fs/udf-cd-mkudfiso-20100208.img.xz [new file with mode: 0644]

diff --git a/tests/expected/blkid/low-probe-udf-cd-mkudfiso-20100208 b/tests/expected/blkid/low-probe-udf-cd-mkudfiso-20100208
new file mode 100644 (file)
index 0000000..f57dee0
--- /dev/null
@@ -0,0 +1,7 @@
+ID_FS_LABEL=Volume_Label
+ID_FS_LABEL_ENC=Volume\x20Label
+ID_FS_LOGICAL_VOLUME_ID=Volume Label
+ID_FS_TYPE=udf
+ID_FS_USAGE=filesystem
+ID_FS_VERSION=1.02
+ID_FS_VOLUME_ID=Volume Label
diff --git a/tests/ts/blkid/images-fs/udf-cd-mkudfiso-20100208.img.xz b/tests/ts/blkid/images-fs/udf-cd-mkudfiso-20100208.img.xz
new file mode 100644 (file)
index 0000000..1da9a28
Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-cd-mkudfiso-20100208.img.xz differ