]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: Add UDF hdd image with non ASCII 8bit label created by Linux mkudffs 1.3
authorPali Rohár <pali.rohar@gmail.com>
Tue, 16 May 2017 21:52:24 +0000 (23:52 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Tue, 16 May 2017 21:52:24 +0000 (23:52 +0200)
$ dd if=/dev/zero of=udf-hdd-mkudffs-1.3-3.img bs=1M count=10
$ mkudffs -l 'ÿ' -b 2048 /tmp/udf-hdd-mkudffs-1.3-3.img

tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3 [new file with mode: 0644]
tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz [new file with mode: 0644]

diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-3
new file mode 100644 (file)
index 0000000..0028051
--- /dev/null
@@ -0,0 +1,9 @@
+ID_FS_LABEL=ÿ
+ID_FS_LABEL_ENC=ÿ
+ID_FS_LOGICAL_VOLUME_ID=ÿ
+ID_FS_TYPE=udf
+ID_FS_USAGE=filesystem
+ID_FS_UUID=5914e5d44790645a
+ID_FS_UUID_ENC=5914e5d44790645a
+ID_FS_VOLUME_ID=ÿ
+ID_FS_VOLUME_SET_ID=5914e5d44790645aLinuxUDF
diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz
new file mode 100644 (file)
index 0000000..d774e0a
Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz differ