]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: Add UDF hdd image which label has length 30 characters
authorPali Rohár <pali.rohar@gmail.com>
Thu, 22 Jun 2017 08:38:24 +0000 (10:38 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Thu, 22 Jun 2017 08:38:24 +0000 (10:38 +0200)
commit56dce6b7fc60e837e4a64fd9091cc28f22c089c4
treeaf528803dd45a0455beecaa7e25f78eda21775a0
parentf0fcfdc30f529d670b966e40c026a07bb0c2a65c
tests: Add UDF hdd image which label has length 30 characters

Structure dstring for label has 32 bytes, first byte is 8 (Compression ID),
last byte is 30 (count of 8bit characters in label). Therefore label is not
nul terminated and dstring parser needs to handle it (fixed in previous
commit).

$ dd if=/dev/zero of=udf-hdd-mkudffs-1.3-6.img bs=1M count=10
$ mkudffs -l AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -b 512 udf-hdd-mkudffs-1.3-6.img
tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-6 [new file with mode: 0644]
tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-6.img.xz [new file with mode: 0644]