]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: Add UDF hdd image created by NetBSD newfs_udf (from UDFclient 0.7.7)
authorPali Rohár <pali.rohar@gmail.com>
Thu, 8 Jan 2015 16:50:38 +0000 (17:50 +0100)
committerPali Rohár <pali.rohar@gmail.com>
Thu, 8 Jan 2015 16:50:38 +0000 (17:50 +0100)
$ dd if=/dev/zero of=/tmp/test bs=1M count=10
$ newfs_udf -L discname /tmp/test

Version from UDFclient 0.7.7 generate default Volume set identifier correctly.

tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.7 [new file with mode: 0644]
tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.bz2 [new file with mode: 0644]

diff --git a/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.7 b/tests/expected/blkid/low-probe-udf-hdd-udfclient-0.7.7
new file mode 100644 (file)
index 0000000..b33be5f
--- /dev/null
@@ -0,0 +1,9 @@
+ID_FS_LABEL=discname
+ID_FS_LABEL_ENC=discname
+ID_FS_LOGICAL_VOLUME_ID=discname
+ID_FS_TYPE=udf
+ID_FS_USAGE=filesystem
+ID_FS_UUID=54aeb3b66dd41fde
+ID_FS_UUID_ENC=54aeb3b66dd41fde
+ID_FS_VOLUME_ID=5ea1a197
+ID_FS_VOLUME_SET_ID=54aeb3b66dd41fde
diff --git a/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.bz2 b/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.bz2
new file mode 100644 (file)
index 0000000..f81be62
Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.bz2 differ