From: Pali Rohár Date: Thu, 8 Jan 2015 16:29:58 +0000 (+0100) Subject: tests: Add UDF hdd image created by Linux mkudffs with custom params X-Git-Tag: v2.26-rc1~53^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38610dba6038b3911808f705e9cb13efc31c9333;p=thirdparty%2Futil-linux.git tests: Add UDF hdd image created by Linux mkudffs with custom params $ dd if=/dev/zero of=/tmp/test bs=1M count=10 $ mkudffs -b 512 --lvid=Label --vid=Label --vsid="Volume set identifier" /tmp/test When calling mkudffs with --vsid param there is bug which cause that garbage from application stack is copied into Volume set identifier after 8th character. Characters 1 -- 16 are used in libblkid for generating UUID, so this is perfect test example that everything is working! --- diff --git a/tests/expected/blkid/low-probe-udf-hdd-mkudffs2 b/tests/expected/blkid/low-probe-udf-hdd-mkudffs2 new file mode 100644 index 0000000000..a82cc34840 --- /dev/null +++ b/tests/expected/blkid/low-probe-udf-hdd-mkudffs2 @@ -0,0 +1,9 @@ +ID_FS_LABEL=Label +ID_FS_LABEL_ENC=Label +ID_FS_LOGICAL_VOLUME_ID=Label +ID_FS_TYPE=udf +ID_FS_USAGE=filesystem +ID_FS_UUID=54aead8591280d01 +ID_FS_UUID_ENC=54aead8591280d01 +ID_FS_VOLUME_ID=Label +ID_FS_VOLUME_SET_ID=54aead85‘( Volume set identifier diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs2.img.bz2 b/tests/ts/blkid/images-fs/udf-hdd-mkudffs2.img.bz2 new file mode 100644 index 0000000000..a3b917829e Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs2.img.bz2 differ