From 8cb83eee5a58b1fad74c34094ce3afb9e430b5a4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:42:50 +0200 Subject: Adding upstream version 2.33.1. Signed-off-by: Daniel Baumann --- tests/ts/blkid/dm-err | 45 ++++++++++ tests/ts/blkid/images-fs/adaptec-raid.img.xz | Bin 0 -> 672 bytes tests/ts/blkid/images-fs/bcache-B.img.xz | Bin 0 -> 180 bytes tests/ts/blkid/images-fs/bcache-C.img.xz | Bin 0 -> 9976 bytes tests/ts/blkid/images-fs/befs.img.xz | Bin 0 -> 28584 bytes tests/ts/blkid/images-fs/bfs.img.xz | Bin 0 -> 492 bytes tests/ts/blkid/images-fs/cramfs.img.xz | Bin 0 -> 144 bytes tests/ts/blkid/images-fs/ddf-raid.img.xz | Bin 0 -> 8140 bytes .../images-fs/drbdmanage-control-volume.img.xz | Bin 0 -> 2520 bytes tests/ts/blkid/images-fs/exfat.img.xz | Bin 0 -> 4620 bytes tests/ts/blkid/images-fs/ext2.img.xz | Bin 0 -> 384 bytes tests/ts/blkid/images-fs/ext3.img.xz | Bin 0 -> 1612 bytes tests/ts/blkid/images-fs/f2fs.img.xz | Bin 0 -> 22188 bytes tests/ts/blkid/images-fs/fat.img.xz | Bin 0 -> 488 bytes tests/ts/blkid/images-fs/fat16_noheads.img.xz | Bin 0 -> 16300 bytes .../ts/blkid/images-fs/fat32_cp850_O_tilde.img.xz | Bin 0 -> 5400 bytes tests/ts/blkid/images-fs/fat32_label_64MB.img.xz | Bin 0 -> 10428 bytes .../ts/blkid/images-fs/fat32_mkdosfs_label1.img.xz | Bin 0 -> 5400 bytes .../fat32_mkdosfs_label1_dosfslabel_NO_NAME.img.xz | Bin 0 -> 5404 bytes .../fat32_mkdosfs_label1_dosfslabel_empty.img.xz | Bin 0 -> 5396 bytes .../fat32_mkdosfs_label1_dosfslabel_label2.img.xz | Bin 0 -> 5400 bytes .../fat32_mkdosfs_label1_mlabel_NO_NAME.img.xz | Bin 0 -> 5412 bytes .../fat32_mkdosfs_label1_mlabel_erase.img.xz | Bin 0 -> 5412 bytes .../images-fs/fat32_mkdosfs_label1_xp_erase.img.xz | Bin 0 -> 5400 bytes .../fat32_mkdosfs_label1_xp_label2.img.xz | Bin 0 -> 5404 bytes tests/ts/blkid/images-fs/fat32_mkdosfs_none.img.xz | Bin 0 -> 5376 bytes .../fat32_mkdosfs_none_dosfslabel_NO_NAME.img.xz | Bin 0 -> 5384 bytes .../fat32_mkdosfs_none_dosfslabel_label1.img.xz | Bin 0 -> 5380 bytes ...mkdosfs_none_dosfslabel_label1_xp_label2.img.xz | Bin 0 -> 5404 bytes .../images-fs/fat32_mkdosfs_none_xp_label1.img.xz | Bin 0 -> 5400 bytes ...mkdosfs_none_xp_label1_dosfslabel_label2.img.xz | Bin 0 -> 5396 bytes tests/ts/blkid/images-fs/fat32_xp_label1.img.xz | Bin 0 -> 5936 bytes tests/ts/blkid/images-fs/fat32_xp_none.img.xz | Bin 0 -> 5908 bytes .../fat32_xp_none_dosfslabel_label1.img.xz | Bin 0 -> 5908 bytes .../images-fs/fat32_xp_none_mlabel_label1.img.xz | Bin 0 -> 5660 bytes tests/ts/blkid/images-fs/gfs2.img.xz | Bin 0 -> 5092 bytes tests/ts/blkid/images-fs/hfs.img.xz | Bin 0 -> 1876 bytes tests/ts/blkid/images-fs/hfsplus.img.xz | Bin 0 -> 1940 bytes tests/ts/blkid/images-fs/hpfs.img.xz | Bin 0 -> 2172 bytes tests/ts/blkid/images-fs/hpt37x-raid.img.xz | Bin 0 -> 400 bytes tests/ts/blkid/images-fs/hpt45x-raid.img.xz | Bin 0 -> 424 bytes tests/ts/blkid/images-fs/iso-joliet.img.xz | Bin 0 -> 21884 bytes tests/ts/blkid/images-fs/iso-rr-joliet.img.xz | Bin 0 -> 22144 bytes tests/ts/blkid/images-fs/iso.img.xz | Bin 0 -> 21656 bytes tests/ts/blkid/images-fs/isw-raid.img.xz | Bin 0 -> 528 bytes tests/ts/blkid/images-fs/jbd.img.xz | Bin 0 -> 688 bytes tests/ts/blkid/images-fs/jfs.img.xz | Bin 0 -> 4768 bytes tests/ts/blkid/images-fs/jmicron-raid.img.xz | Bin 0 -> 480 bytes tests/ts/blkid/images-fs/lsi-raid.img.xz | Bin 0 -> 436 bytes tests/ts/blkid/images-fs/luks1.img.xz | Bin 0 -> 300 bytes tests/ts/blkid/images-fs/luks2.img.xz | Bin 0 -> 276 bytes tests/ts/blkid/images-fs/lvm2.img.xz | Bin 0 -> 512 bytes tests/ts/blkid/images-fs/mdraid.img.xz | Bin 0 -> 1752 bytes tests/ts/blkid/images-fs/minix-BE.img.xz | Bin 0 -> 220 bytes tests/ts/blkid/images-fs/minix-LE.img.xz | Bin 0 -> 224 bytes tests/ts/blkid/images-fs/mpool.img.xz | Bin 0 -> 544 bytes tests/ts/blkid/images-fs/netware.img.xz | Bin 0 -> 244 bytes tests/ts/blkid/images-fs/nilfs2.img.xz | Bin 0 -> 25072 bytes tests/ts/blkid/images-fs/ntfs.img.xz | Bin 0 -> 89576 bytes tests/ts/blkid/images-fs/nvidia-raid.img.xz | Bin 0 -> 572 bytes tests/ts/blkid/images-fs/ocfs2.img.xz | Bin 0 -> 18644 bytes tests/ts/blkid/images-fs/promise-raid.img.xz | Bin 0 -> 740 bytes tests/ts/blkid/images-fs/reiser3.img.xz | Bin 0 -> 936 bytes tests/ts/blkid/images-fs/reiser4.img.xz | Bin 0 -> 904 bytes tests/ts/blkid/images-fs/romfs.img.xz | Bin 0 -> 384 bytes tests/ts/blkid/images-fs/silicon-raid.img.xz | Bin 0 -> 588 bytes tests/ts/blkid/images-fs/small-fat32.img.xz | Bin 0 -> 576 bytes tests/ts/blkid/images-fs/swap0.img.xz | Bin 0 -> 496 bytes tests/ts/blkid/images-fs/swap1.img.xz | Bin 0 -> 524 bytes tests/ts/blkid/images-fs/tuxonice.img.xz | Bin 0 -> 37032 bytes tests/ts/blkid/images-fs/ubi.img.xz | Bin 0 -> 380 bytes tests/ts/blkid/images-fs/ubifs.img.xz | Bin 0 -> 1128 bytes tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz | Bin 0 -> 1956 bytes .../images-fs/udf-cd-mkudfiso-20100208.img.xz | Bin 0 -> 756 bytes tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz | Bin 0 -> 2168 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.0.0-1.img.xz | Bin 0 -> 2728 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.0.0-2.img.xz | Bin 0 -> 2772 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-1.img.xz | Bin 0 -> 2364 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-2.img.xz | Bin 0 -> 2380 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz | Bin 0 -> 2376 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-4.img.xz | Bin 0 -> 2380 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-5.img.xz | Bin 0 -> 2396 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-6.img.xz | Bin 0 -> 2360 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-7.img.xz | Bin 0 -> 2720 bytes .../blkid/images-fs/udf-hdd-mkudffs-1.3-8.img.xz | Bin 0 -> 2328 bytes .../blkid/images-fs/udf-hdd-udfclient-0.7.5.img.xz | Bin 0 -> 2292 bytes .../blkid/images-fs/udf-hdd-udfclient-0.7.7.img.xz | Bin 0 -> 2296 bytes tests/ts/blkid/images-fs/udf-hdd-win7.img.xz | Bin 0 -> 2624 bytes tests/ts/blkid/images-fs/udf.img.xz | Bin 0 -> 1884 bytes tests/ts/blkid/images-fs/ufs.img.xz | Bin 0 -> 1296 bytes tests/ts/blkid/images-fs/vdo.img.xz | Bin 0 -> 140 bytes tests/ts/blkid/images-fs/via-raid.img.xz | Bin 0 -> 528 bytes tests/ts/blkid/images-fs/vmfs.img.xz | Bin 0 -> 512 bytes tests/ts/blkid/images-fs/vmfs_volume.img.xz | Bin 0 -> 680 bytes tests/ts/blkid/images-fs/xfs-log.img.xz | Bin 0 -> 1720 bytes tests/ts/blkid/images-fs/xfs.img.xz | Bin 0 -> 2892 bytes tests/ts/blkid/images-fs/zfs.img.xz | Bin 0 -> 19904 bytes tests/ts/blkid/images-pt/atari-icd.img.xz | Bin 0 -> 1920 bytes tests/ts/blkid/images-pt/atari-xgm.img.xz | Bin 0 -> 1920 bytes tests/ts/blkid/images-pt/bsd.img.xz | Bin 0 -> 840 bytes tests/ts/blkid/images-pt/dos+bsd.img.xz | Bin 0 -> 2620 bytes tests/ts/blkid/images-pt/gpt.img.xz | Bin 0 -> 2140 bytes tests/ts/blkid/images-pt/sgi.img.xz | Bin 0 -> 1724 bytes tests/ts/blkid/images-pt/sun.img.xz | Bin 0 -> 1748 bytes tests/ts/blkid/low-probe | 44 ++++++++++ tests/ts/blkid/lowprobe-pt | 44 ++++++++++ tests/ts/blkid/mbr-wholedisk | 42 +++++++++ tests/ts/blkid/mbr-wholedisk-vfat.img | Bin 0 -> 512 bytes tests/ts/blkid/md-raid0-whole | 89 +++++++++++++++++++ tests/ts/blkid/md-raid1-part | 95 +++++++++++++++++++++ tests/ts/blkid/md-raid1-whole | 93 ++++++++++++++++++++ 111 files changed, 452 insertions(+) create mode 100755 tests/ts/blkid/dm-err create mode 100644 tests/ts/blkid/images-fs/adaptec-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/bcache-B.img.xz create mode 100644 tests/ts/blkid/images-fs/bcache-C.img.xz create mode 100644 tests/ts/blkid/images-fs/befs.img.xz create mode 100644 tests/ts/blkid/images-fs/bfs.img.xz create mode 100644 tests/ts/blkid/images-fs/cramfs.img.xz create mode 100644 tests/ts/blkid/images-fs/ddf-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/drbdmanage-control-volume.img.xz create mode 100644 tests/ts/blkid/images-fs/exfat.img.xz create mode 100644 tests/ts/blkid/images-fs/ext2.img.xz create mode 100644 tests/ts/blkid/images-fs/ext3.img.xz create mode 100644 tests/ts/blkid/images-fs/f2fs.img.xz create mode 100644 tests/ts/blkid/images-fs/fat.img.xz create mode 100644 tests/ts/blkid/images-fs/fat16_noheads.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_cp850_O_tilde.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_label_64MB.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_NO_NAME.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_empty.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_label2.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_NO_NAME.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_erase.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_erase.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_label2.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_NO_NAME.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1_xp_label2.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1_dosfslabel_label2.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_xp_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_xp_none.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_xp_none_dosfslabel_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/fat32_xp_none_mlabel_label1.img.xz create mode 100644 tests/ts/blkid/images-fs/gfs2.img.xz create mode 100644 tests/ts/blkid/images-fs/hfs.img.xz create mode 100644 tests/ts/blkid/images-fs/hfsplus.img.xz create mode 100644 tests/ts/blkid/images-fs/hpfs.img.xz create mode 100644 tests/ts/blkid/images-fs/hpt37x-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/hpt45x-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/iso-joliet.img.xz create mode 100644 tests/ts/blkid/images-fs/iso-rr-joliet.img.xz create mode 100644 tests/ts/blkid/images-fs/iso.img.xz create mode 100644 tests/ts/blkid/images-fs/isw-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/jbd.img.xz create mode 100644 tests/ts/blkid/images-fs/jfs.img.xz create mode 100644 tests/ts/blkid/images-fs/jmicron-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/lsi-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/luks1.img.xz create mode 100644 tests/ts/blkid/images-fs/luks2.img.xz create mode 100644 tests/ts/blkid/images-fs/lvm2.img.xz create mode 100644 tests/ts/blkid/images-fs/mdraid.img.xz create mode 100644 tests/ts/blkid/images-fs/minix-BE.img.xz create mode 100644 tests/ts/blkid/images-fs/minix-LE.img.xz create mode 100644 tests/ts/blkid/images-fs/mpool.img.xz create mode 100644 tests/ts/blkid/images-fs/netware.img.xz create mode 100644 tests/ts/blkid/images-fs/nilfs2.img.xz create mode 100644 tests/ts/blkid/images-fs/ntfs.img.xz create mode 100644 tests/ts/blkid/images-fs/nvidia-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/ocfs2.img.xz create mode 100644 tests/ts/blkid/images-fs/promise-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/reiser3.img.xz create mode 100644 tests/ts/blkid/images-fs/reiser4.img.xz create mode 100644 tests/ts/blkid/images-fs/romfs.img.xz create mode 100644 tests/ts/blkid/images-fs/silicon-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/small-fat32.img.xz create mode 100644 tests/ts/blkid/images-fs/swap0.img.xz create mode 100644 tests/ts/blkid/images-fs/swap1.img.xz create mode 100644 tests/ts/blkid/images-fs/tuxonice.img.xz create mode 100644 tests/ts/blkid/images-fs/ubi.img.xz create mode 100644 tests/ts/blkid/images-fs/ubifs.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-cd-mkudfiso-20100208.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-1.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-2.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-1.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-2.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-4.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-5.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-6.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-7.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-8.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.5.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.xz create mode 100644 tests/ts/blkid/images-fs/udf-hdd-win7.img.xz create mode 100644 tests/ts/blkid/images-fs/udf.img.xz create mode 100644 tests/ts/blkid/images-fs/ufs.img.xz create mode 100644 tests/ts/blkid/images-fs/vdo.img.xz create mode 100644 tests/ts/blkid/images-fs/via-raid.img.xz create mode 100644 tests/ts/blkid/images-fs/vmfs.img.xz create mode 100644 tests/ts/blkid/images-fs/vmfs_volume.img.xz create mode 100644 tests/ts/blkid/images-fs/xfs-log.img.xz create mode 100644 tests/ts/blkid/images-fs/xfs.img.xz create mode 100644 tests/ts/blkid/images-fs/zfs.img.xz create mode 100644 tests/ts/blkid/images-pt/atari-icd.img.xz create mode 100644 tests/ts/blkid/images-pt/atari-xgm.img.xz create mode 100644 tests/ts/blkid/images-pt/bsd.img.xz create mode 100644 tests/ts/blkid/images-pt/dos+bsd.img.xz create mode 100644 tests/ts/blkid/images-pt/gpt.img.xz create mode 100644 tests/ts/blkid/images-pt/sgi.img.xz create mode 100644 tests/ts/blkid/images-pt/sun.img.xz create mode 100755 tests/ts/blkid/low-probe create mode 100755 tests/ts/blkid/lowprobe-pt create mode 100755 tests/ts/blkid/mbr-wholedisk create mode 100644 tests/ts/blkid/mbr-wholedisk-vfat.img create mode 100755 tests/ts/blkid/md-raid0-whole create mode 100755 tests/ts/blkid/md-raid1-part create mode 100755 tests/ts/blkid/md-raid1-whole (limited to 'tests/ts/blkid') diff --git a/tests/ts/blkid/dm-err b/tests/ts/blkid/dm-err new file mode 100755 index 0000000..d01f002 --- /dev/null +++ b/tests/ts/blkid/dm-err @@ -0,0 +1,45 @@ +#!/bin/bash + +# +# Copyright (C) 2016 Karel Zak +# +# This file is part of util-linux. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +TS_TOPDIR="${0%/*}/../.." +TS_DESC="DM error" + +. $TS_TOPDIR/functions.sh +ts_init "$*" + +ts_check_test_command "$TS_CMD_BLKID" + +ts_skip_nonroot +ts_check_prog "dmsetup" + +DEVNAME="blkid-dm-err" +DEVICE="/dev/mapper/${DEVNAME}" + +ts_log "Initialize device" +echo "0 262144 error" | dmsetup create $DEVNAME + +ts_log "Probe device" +$TS_CMD_BLKID -p -o udev $DEVICE 2>&1 >> $TS_OUTPUT +echo "Return code: $?" >> $TS_OUTPUT + +udevadm settle +ts_log "Deinitialize device" + +dmsetup remove $DEVNAME + +ts_finalize diff --git a/tests/ts/blkid/images-fs/adaptec-raid.img.xz b/tests/ts/blkid/images-fs/adaptec-raid.img.xz new file mode 100644 index 0000000..20387cd Binary files /dev/null and b/tests/ts/blkid/images-fs/adaptec-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/bcache-B.img.xz b/tests/ts/blkid/images-fs/bcache-B.img.xz new file mode 100644 index 0000000..ed187f1 Binary files /dev/null and b/tests/ts/blkid/images-fs/bcache-B.img.xz differ diff --git a/tests/ts/blkid/images-fs/bcache-C.img.xz b/tests/ts/blkid/images-fs/bcache-C.img.xz new file mode 100644 index 0000000..af90cbf Binary files /dev/null and b/tests/ts/blkid/images-fs/bcache-C.img.xz differ diff --git a/tests/ts/blkid/images-fs/befs.img.xz b/tests/ts/blkid/images-fs/befs.img.xz new file mode 100644 index 0000000..188a6e8 Binary files /dev/null and b/tests/ts/blkid/images-fs/befs.img.xz differ diff --git a/tests/ts/blkid/images-fs/bfs.img.xz b/tests/ts/blkid/images-fs/bfs.img.xz new file mode 100644 index 0000000..98f024a Binary files /dev/null and b/tests/ts/blkid/images-fs/bfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/cramfs.img.xz b/tests/ts/blkid/images-fs/cramfs.img.xz new file mode 100644 index 0000000..5943867 Binary files /dev/null and b/tests/ts/blkid/images-fs/cramfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/ddf-raid.img.xz b/tests/ts/blkid/images-fs/ddf-raid.img.xz new file mode 100644 index 0000000..b5b64fe Binary files /dev/null and b/tests/ts/blkid/images-fs/ddf-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/drbdmanage-control-volume.img.xz b/tests/ts/blkid/images-fs/drbdmanage-control-volume.img.xz new file mode 100644 index 0000000..d31bfc1 Binary files /dev/null and b/tests/ts/blkid/images-fs/drbdmanage-control-volume.img.xz differ diff --git a/tests/ts/blkid/images-fs/exfat.img.xz b/tests/ts/blkid/images-fs/exfat.img.xz new file mode 100644 index 0000000..43cc09a Binary files /dev/null and b/tests/ts/blkid/images-fs/exfat.img.xz differ diff --git a/tests/ts/blkid/images-fs/ext2.img.xz b/tests/ts/blkid/images-fs/ext2.img.xz new file mode 100644 index 0000000..3b5489f Binary files /dev/null and b/tests/ts/blkid/images-fs/ext2.img.xz differ diff --git a/tests/ts/blkid/images-fs/ext3.img.xz b/tests/ts/blkid/images-fs/ext3.img.xz new file mode 100644 index 0000000..7d170e2 Binary files /dev/null and b/tests/ts/blkid/images-fs/ext3.img.xz differ diff --git a/tests/ts/blkid/images-fs/f2fs.img.xz b/tests/ts/blkid/images-fs/f2fs.img.xz new file mode 100644 index 0000000..f7f9dde Binary files /dev/null and b/tests/ts/blkid/images-fs/f2fs.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat.img.xz b/tests/ts/blkid/images-fs/fat.img.xz new file mode 100644 index 0000000..4e0997a Binary files /dev/null and b/tests/ts/blkid/images-fs/fat.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat16_noheads.img.xz b/tests/ts/blkid/images-fs/fat16_noheads.img.xz new file mode 100644 index 0000000..a0ee296 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat16_noheads.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_cp850_O_tilde.img.xz b/tests/ts/blkid/images-fs/fat32_cp850_O_tilde.img.xz new file mode 100644 index 0000000..06eb2c9 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_cp850_O_tilde.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_label_64MB.img.xz b/tests/ts/blkid/images-fs/fat32_label_64MB.img.xz new file mode 100644 index 0000000..f0976bc Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_label_64MB.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_label1.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1.img.xz new file mode 100644 index 0000000..4df4b1d Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_NO_NAME.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_NO_NAME.img.xz new file mode 100644 index 0000000..932ab11 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_NO_NAME.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_empty.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_empty.img.xz new file mode 100644 index 0000000..3027031 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_empty.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_label2.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_label2.img.xz new file mode 100644 index 0000000..1551e11 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_dosfslabel_label2.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_NO_NAME.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_NO_NAME.img.xz new file mode 100644 index 0000000..264c440 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_NO_NAME.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_erase.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_erase.img.xz new file mode 100644 index 0000000..f0a9571 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_mlabel_erase.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_erase.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_erase.img.xz new file mode 100644 index 0000000..cc4280e Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_erase.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_label2.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_label2.img.xz new file mode 100644 index 0000000..66d4838 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_label1_xp_label2.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_none.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_none.img.xz new file mode 100644 index 0000000..0d084f3 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_none.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_NO_NAME.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_NO_NAME.img.xz new file mode 100644 index 0000000..a238a01 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_NO_NAME.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1.img.xz new file mode 100644 index 0000000..1486031 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1_xp_label2.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1_xp_label2.img.xz new file mode 100644 index 0000000..5401e1f Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_dosfslabel_label1_xp_label2.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1.img.xz new file mode 100644 index 0000000..acf01cc Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1_dosfslabel_label2.img.xz b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1_dosfslabel_label2.img.xz new file mode 100644 index 0000000..bff0971 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_mkdosfs_none_xp_label1_dosfslabel_label2.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_xp_label1.img.xz b/tests/ts/blkid/images-fs/fat32_xp_label1.img.xz new file mode 100644 index 0000000..97d71e9 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_xp_label1.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_xp_none.img.xz b/tests/ts/blkid/images-fs/fat32_xp_none.img.xz new file mode 100644 index 0000000..a8c819e Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_xp_none.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_xp_none_dosfslabel_label1.img.xz b/tests/ts/blkid/images-fs/fat32_xp_none_dosfslabel_label1.img.xz new file mode 100644 index 0000000..0ebe6be Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_xp_none_dosfslabel_label1.img.xz differ diff --git a/tests/ts/blkid/images-fs/fat32_xp_none_mlabel_label1.img.xz b/tests/ts/blkid/images-fs/fat32_xp_none_mlabel_label1.img.xz new file mode 100644 index 0000000..5a7a774 Binary files /dev/null and b/tests/ts/blkid/images-fs/fat32_xp_none_mlabel_label1.img.xz differ diff --git a/tests/ts/blkid/images-fs/gfs2.img.xz b/tests/ts/blkid/images-fs/gfs2.img.xz new file mode 100644 index 0000000..22d4d6b Binary files /dev/null and b/tests/ts/blkid/images-fs/gfs2.img.xz differ diff --git a/tests/ts/blkid/images-fs/hfs.img.xz b/tests/ts/blkid/images-fs/hfs.img.xz new file mode 100644 index 0000000..cfa3252 Binary files /dev/null and b/tests/ts/blkid/images-fs/hfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/hfsplus.img.xz b/tests/ts/blkid/images-fs/hfsplus.img.xz new file mode 100644 index 0000000..1c37a70 Binary files /dev/null and b/tests/ts/blkid/images-fs/hfsplus.img.xz differ diff --git a/tests/ts/blkid/images-fs/hpfs.img.xz b/tests/ts/blkid/images-fs/hpfs.img.xz new file mode 100644 index 0000000..4e22a8e Binary files /dev/null and b/tests/ts/blkid/images-fs/hpfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/hpt37x-raid.img.xz b/tests/ts/blkid/images-fs/hpt37x-raid.img.xz new file mode 100644 index 0000000..1b53059 Binary files /dev/null and b/tests/ts/blkid/images-fs/hpt37x-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/hpt45x-raid.img.xz b/tests/ts/blkid/images-fs/hpt45x-raid.img.xz new file mode 100644 index 0000000..7dfe68a Binary files /dev/null and b/tests/ts/blkid/images-fs/hpt45x-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/iso-joliet.img.xz b/tests/ts/blkid/images-fs/iso-joliet.img.xz new file mode 100644 index 0000000..16b8961 Binary files /dev/null and b/tests/ts/blkid/images-fs/iso-joliet.img.xz differ diff --git a/tests/ts/blkid/images-fs/iso-rr-joliet.img.xz b/tests/ts/blkid/images-fs/iso-rr-joliet.img.xz new file mode 100644 index 0000000..1d6ad2c Binary files /dev/null and b/tests/ts/blkid/images-fs/iso-rr-joliet.img.xz differ diff --git a/tests/ts/blkid/images-fs/iso.img.xz b/tests/ts/blkid/images-fs/iso.img.xz new file mode 100644 index 0000000..f1146f3 Binary files /dev/null and b/tests/ts/blkid/images-fs/iso.img.xz differ diff --git a/tests/ts/blkid/images-fs/isw-raid.img.xz b/tests/ts/blkid/images-fs/isw-raid.img.xz new file mode 100644 index 0000000..8e5529a Binary files /dev/null and b/tests/ts/blkid/images-fs/isw-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/jbd.img.xz b/tests/ts/blkid/images-fs/jbd.img.xz new file mode 100644 index 0000000..7c5a089 Binary files /dev/null and b/tests/ts/blkid/images-fs/jbd.img.xz differ diff --git a/tests/ts/blkid/images-fs/jfs.img.xz b/tests/ts/blkid/images-fs/jfs.img.xz new file mode 100644 index 0000000..4780f6d Binary files /dev/null and b/tests/ts/blkid/images-fs/jfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/jmicron-raid.img.xz b/tests/ts/blkid/images-fs/jmicron-raid.img.xz new file mode 100644 index 0000000..cde0811 Binary files /dev/null and b/tests/ts/blkid/images-fs/jmicron-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/lsi-raid.img.xz b/tests/ts/blkid/images-fs/lsi-raid.img.xz new file mode 100644 index 0000000..d6ae15a Binary files /dev/null and b/tests/ts/blkid/images-fs/lsi-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/luks1.img.xz b/tests/ts/blkid/images-fs/luks1.img.xz new file mode 100644 index 0000000..c0f5902 Binary files /dev/null and b/tests/ts/blkid/images-fs/luks1.img.xz differ diff --git a/tests/ts/blkid/images-fs/luks2.img.xz b/tests/ts/blkid/images-fs/luks2.img.xz new file mode 100644 index 0000000..997fb04 Binary files /dev/null and b/tests/ts/blkid/images-fs/luks2.img.xz differ diff --git a/tests/ts/blkid/images-fs/lvm2.img.xz b/tests/ts/blkid/images-fs/lvm2.img.xz new file mode 100644 index 0000000..4c3c183 Binary files /dev/null and b/tests/ts/blkid/images-fs/lvm2.img.xz differ diff --git a/tests/ts/blkid/images-fs/mdraid.img.xz b/tests/ts/blkid/images-fs/mdraid.img.xz new file mode 100644 index 0000000..e8ff4f5 Binary files /dev/null and b/tests/ts/blkid/images-fs/mdraid.img.xz differ diff --git a/tests/ts/blkid/images-fs/minix-BE.img.xz b/tests/ts/blkid/images-fs/minix-BE.img.xz new file mode 100644 index 0000000..c349a4f Binary files /dev/null and b/tests/ts/blkid/images-fs/minix-BE.img.xz differ diff --git a/tests/ts/blkid/images-fs/minix-LE.img.xz b/tests/ts/blkid/images-fs/minix-LE.img.xz new file mode 100644 index 0000000..da646a8 Binary files /dev/null and b/tests/ts/blkid/images-fs/minix-LE.img.xz differ diff --git a/tests/ts/blkid/images-fs/mpool.img.xz b/tests/ts/blkid/images-fs/mpool.img.xz new file mode 100644 index 0000000..4bfefde Binary files /dev/null and b/tests/ts/blkid/images-fs/mpool.img.xz differ diff --git a/tests/ts/blkid/images-fs/netware.img.xz b/tests/ts/blkid/images-fs/netware.img.xz new file mode 100644 index 0000000..fe5b103 Binary files /dev/null and b/tests/ts/blkid/images-fs/netware.img.xz differ diff --git a/tests/ts/blkid/images-fs/nilfs2.img.xz b/tests/ts/blkid/images-fs/nilfs2.img.xz new file mode 100644 index 0000000..38de645 Binary files /dev/null and b/tests/ts/blkid/images-fs/nilfs2.img.xz differ diff --git a/tests/ts/blkid/images-fs/ntfs.img.xz b/tests/ts/blkid/images-fs/ntfs.img.xz new file mode 100644 index 0000000..2b414c4 Binary files /dev/null and b/tests/ts/blkid/images-fs/ntfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/nvidia-raid.img.xz b/tests/ts/blkid/images-fs/nvidia-raid.img.xz new file mode 100644 index 0000000..775f810 Binary files /dev/null and b/tests/ts/blkid/images-fs/nvidia-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/ocfs2.img.xz b/tests/ts/blkid/images-fs/ocfs2.img.xz new file mode 100644 index 0000000..12ed926 Binary files /dev/null and b/tests/ts/blkid/images-fs/ocfs2.img.xz differ diff --git a/tests/ts/blkid/images-fs/promise-raid.img.xz b/tests/ts/blkid/images-fs/promise-raid.img.xz new file mode 100644 index 0000000..77f135f Binary files /dev/null and b/tests/ts/blkid/images-fs/promise-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/reiser3.img.xz b/tests/ts/blkid/images-fs/reiser3.img.xz new file mode 100644 index 0000000..8bc595f Binary files /dev/null and b/tests/ts/blkid/images-fs/reiser3.img.xz differ diff --git a/tests/ts/blkid/images-fs/reiser4.img.xz b/tests/ts/blkid/images-fs/reiser4.img.xz new file mode 100644 index 0000000..e97f960 Binary files /dev/null and b/tests/ts/blkid/images-fs/reiser4.img.xz differ diff --git a/tests/ts/blkid/images-fs/romfs.img.xz b/tests/ts/blkid/images-fs/romfs.img.xz new file mode 100644 index 0000000..680eeed Binary files /dev/null and b/tests/ts/blkid/images-fs/romfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/silicon-raid.img.xz b/tests/ts/blkid/images-fs/silicon-raid.img.xz new file mode 100644 index 0000000..28d6a42 Binary files /dev/null and b/tests/ts/blkid/images-fs/silicon-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/small-fat32.img.xz b/tests/ts/blkid/images-fs/small-fat32.img.xz new file mode 100644 index 0000000..7a04f42 Binary files /dev/null and b/tests/ts/blkid/images-fs/small-fat32.img.xz differ diff --git a/tests/ts/blkid/images-fs/swap0.img.xz b/tests/ts/blkid/images-fs/swap0.img.xz new file mode 100644 index 0000000..3cfea73 Binary files /dev/null and b/tests/ts/blkid/images-fs/swap0.img.xz differ diff --git a/tests/ts/blkid/images-fs/swap1.img.xz b/tests/ts/blkid/images-fs/swap1.img.xz new file mode 100644 index 0000000..6e6f539 Binary files /dev/null and b/tests/ts/blkid/images-fs/swap1.img.xz differ diff --git a/tests/ts/blkid/images-fs/tuxonice.img.xz b/tests/ts/blkid/images-fs/tuxonice.img.xz new file mode 100644 index 0000000..472cf9c Binary files /dev/null and b/tests/ts/blkid/images-fs/tuxonice.img.xz differ diff --git a/tests/ts/blkid/images-fs/ubi.img.xz b/tests/ts/blkid/images-fs/ubi.img.xz new file mode 100644 index 0000000..1a073f2 Binary files /dev/null and b/tests/ts/blkid/images-fs/ubi.img.xz differ diff --git a/tests/ts/blkid/images-fs/ubifs.img.xz b/tests/ts/blkid/images-fs/ubifs.img.xz new file mode 100644 index 0000000..2004f5b Binary files /dev/null and b/tests/ts/blkid/images-fs/ubifs.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz b/tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz new file mode 100644 index 0000000..9fb9a4f Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz differ 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 index 0000000..1da9a28 Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-cd-mkudfiso-20100208.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz b/tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz new file mode 100644 index 0000000..673fa62 Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-cd-nero-6.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-1.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-1.img.xz new file mode 100644 index 0000000..39db4be Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-1.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-2.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-2.img.xz new file mode 100644 index 0000000..4cba447 Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.0.0-2.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-1.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-1.img.xz new file mode 100644 index 0000000..7df36db Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-1.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-2.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-2.img.xz new file mode 100644 index 0000000..bc0facc Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-2.img.xz differ 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 index 0000000..d774e0a Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-3.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-4.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-4.img.xz new file mode 100644 index 0000000..047e39a Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-4.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-5.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-5.img.xz new file mode 100644 index 0000000..291d7eb Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-5.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-6.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-6.img.xz new file mode 100644 index 0000000..393ab9e Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-6.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-7.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-7.img.xz new file mode 100644 index 0000000..5940009 Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-7.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-8.img.xz b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-8.img.xz new file mode 100644 index 0000000..b91180c Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-8.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.5.img.xz b/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.5.img.xz new file mode 100644 index 0000000..baddc84 Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.5.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.xz b/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.xz new file mode 100644 index 0000000..dfb8cdb Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-udfclient-0.7.7.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf-hdd-win7.img.xz b/tests/ts/blkid/images-fs/udf-hdd-win7.img.xz new file mode 100644 index 0000000..ee86115 Binary files /dev/null and b/tests/ts/blkid/images-fs/udf-hdd-win7.img.xz differ diff --git a/tests/ts/blkid/images-fs/udf.img.xz b/tests/ts/blkid/images-fs/udf.img.xz new file mode 100644 index 0000000..fdf0edf Binary files /dev/null and b/tests/ts/blkid/images-fs/udf.img.xz differ diff --git a/tests/ts/blkid/images-fs/ufs.img.xz b/tests/ts/blkid/images-fs/ufs.img.xz new file mode 100644 index 0000000..58f8b20 Binary files /dev/null and b/tests/ts/blkid/images-fs/ufs.img.xz differ diff --git a/tests/ts/blkid/images-fs/vdo.img.xz b/tests/ts/blkid/images-fs/vdo.img.xz new file mode 100644 index 0000000..08c7ecb Binary files /dev/null and b/tests/ts/blkid/images-fs/vdo.img.xz differ diff --git a/tests/ts/blkid/images-fs/via-raid.img.xz b/tests/ts/blkid/images-fs/via-raid.img.xz new file mode 100644 index 0000000..c5f6fb7 Binary files /dev/null and b/tests/ts/blkid/images-fs/via-raid.img.xz differ diff --git a/tests/ts/blkid/images-fs/vmfs.img.xz b/tests/ts/blkid/images-fs/vmfs.img.xz new file mode 100644 index 0000000..ce4544e Binary files /dev/null and b/tests/ts/blkid/images-fs/vmfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/vmfs_volume.img.xz b/tests/ts/blkid/images-fs/vmfs_volume.img.xz new file mode 100644 index 0000000..93f11b4 Binary files /dev/null and b/tests/ts/blkid/images-fs/vmfs_volume.img.xz differ diff --git a/tests/ts/blkid/images-fs/xfs-log.img.xz b/tests/ts/blkid/images-fs/xfs-log.img.xz new file mode 100644 index 0000000..35ff33b Binary files /dev/null and b/tests/ts/blkid/images-fs/xfs-log.img.xz differ diff --git a/tests/ts/blkid/images-fs/xfs.img.xz b/tests/ts/blkid/images-fs/xfs.img.xz new file mode 100644 index 0000000..5576c66 Binary files /dev/null and b/tests/ts/blkid/images-fs/xfs.img.xz differ diff --git a/tests/ts/blkid/images-fs/zfs.img.xz b/tests/ts/blkid/images-fs/zfs.img.xz new file mode 100644 index 0000000..f85e536 Binary files /dev/null and b/tests/ts/blkid/images-fs/zfs.img.xz differ diff --git a/tests/ts/blkid/images-pt/atari-icd.img.xz b/tests/ts/blkid/images-pt/atari-icd.img.xz new file mode 100644 index 0000000..00a2aba Binary files /dev/null and b/tests/ts/blkid/images-pt/atari-icd.img.xz differ diff --git a/tests/ts/blkid/images-pt/atari-xgm.img.xz b/tests/ts/blkid/images-pt/atari-xgm.img.xz new file mode 100644 index 0000000..bc2b8f9 Binary files /dev/null and b/tests/ts/blkid/images-pt/atari-xgm.img.xz differ diff --git a/tests/ts/blkid/images-pt/bsd.img.xz b/tests/ts/blkid/images-pt/bsd.img.xz new file mode 100644 index 0000000..bfdb50b Binary files /dev/null and b/tests/ts/blkid/images-pt/bsd.img.xz differ diff --git a/tests/ts/blkid/images-pt/dos+bsd.img.xz b/tests/ts/blkid/images-pt/dos+bsd.img.xz new file mode 100644 index 0000000..f87dd74 Binary files /dev/null and b/tests/ts/blkid/images-pt/dos+bsd.img.xz differ diff --git a/tests/ts/blkid/images-pt/gpt.img.xz b/tests/ts/blkid/images-pt/gpt.img.xz new file mode 100644 index 0000000..9a085b4 Binary files /dev/null and b/tests/ts/blkid/images-pt/gpt.img.xz differ diff --git a/tests/ts/blkid/images-pt/sgi.img.xz b/tests/ts/blkid/images-pt/sgi.img.xz new file mode 100644 index 0000000..d5fed80 Binary files /dev/null and b/tests/ts/blkid/images-pt/sgi.img.xz differ diff --git a/tests/ts/blkid/images-pt/sun.img.xz b/tests/ts/blkid/images-pt/sun.img.xz new file mode 100644 index 0000000..a00594a Binary files /dev/null and b/tests/ts/blkid/images-pt/sun.img.xz differ diff --git a/tests/ts/blkid/low-probe b/tests/ts/blkid/low-probe new file mode 100755 index 0000000..38023b8 --- /dev/null +++ b/tests/ts/blkid/low-probe @@ -0,0 +1,44 @@ +#!/bin/bash + +# +# Copyright (C) 2009 Karel Zak +# +# This file is part of util-linux. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +TS_TOPDIR="${0%/*}/../.." +TS_DESC="superblocks probing" + +. $TS_TOPDIR/functions.sh + +ts_init "$*" + +ts_check_test_command "$TS_CMD_BLKID" +ts_check_prog "xz" + +mkdir -p $TS_OUTDIR/images-fs + +for img in $(ls $TS_SELF/images-fs/*.img.xz | sort); do + name=$(basename $img .img.xz) + outimg=$TS_OUTDIR/images-fs/${name}.img + + ts_init_subtest $name + + xz -dc $img > $outimg + + $TS_CMD_BLKID -p -o udev $outimg 2>&1 | sort > $TS_OUTPUT + ts_finalize_subtest +done + +ts_finalize + diff --git a/tests/ts/blkid/lowprobe-pt b/tests/ts/blkid/lowprobe-pt new file mode 100755 index 0000000..2177de9 --- /dev/null +++ b/tests/ts/blkid/lowprobe-pt @@ -0,0 +1,44 @@ +#!/bin/bash + +# +# Copyright (C) 2009 Karel Zak +# +# This file is part of util-linux. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +TS_TOPDIR="${0%/*}/../.." +TS_DESC="partitions probing" + +. $TS_TOPDIR/functions.sh + +ts_init "$*" + +ts_check_test_command "$TS_HELPER_PARTITIONS" +ts_check_prog "xz" + +mkdir -p $TS_OUTDIR/images-pt + +for img in $(ls $TS_SELF/images-pt/*.img.xz | sort); do + name=$(basename $img .img.xz) + outimg=$TS_OUTDIR/images-pt/${name}.img + + ts_init_subtest $name + + xz -dc $img > $outimg + + $TS_HELPER_PARTITIONS $outimg &> $TS_OUTPUT + ts_finalize_subtest +done + +ts_finalize + diff --git a/tests/ts/blkid/mbr-wholedisk b/tests/ts/blkid/mbr-wholedisk new file mode 100755 index 0000000..239592e --- /dev/null +++ b/tests/ts/blkid/mbr-wholedisk @@ -0,0 +1,42 @@ +#!/bin/bash + +# +# Copyright (C) 2015 Karel Zak +# +# This file is part of util-linux. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +TS_TOPDIR="${0%/*}/../.." +TS_DESC="mbr-wholedisk" + +. $TS_TOPDIR/functions.sh + +ts_init "$*" + +ts_check_test_command "$TS_CMD_BLKID" + +ts_skip_nonroot + +# set global variable TS_DEVICE +ts_scsi_debug_init dev_size_mb=50 + +# +# This looks like VFAT, but it's MBR +# +ts_init_subtest "fake-vfat" +dd if=${TS_SELF}/mbr-wholedisk-vfat.img of=${TS_DEVICE} &> /dev/null +udevadm settle +$TS_CMD_BLKID -p -o udev ${TS_DEVICE} >> $TS_OUTPUT +ts_finalize_subtest + +ts_finalize diff --git a/tests/ts/blkid/mbr-wholedisk-vfat.img b/tests/ts/blkid/mbr-wholedisk-vfat.img new file mode 100644 index 0000000..22bee6c Binary files /dev/null and b/tests/ts/blkid/mbr-wholedisk-vfat.img differ diff --git a/tests/ts/blkid/md-raid0-whole b/tests/ts/blkid/md-raid0-whole new file mode 100755 index 0000000..45c6ee5 --- /dev/null +++ b/tests/ts/blkid/md-raid0-whole @@ -0,0 +1,89 @@ +#!/bin/bash + +# +# Copyright (C) 2010 Karel Zak +# +# This file is part of util-linux. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +TS_TOPDIR="${0%/*}/../.." +TS_DESC="MD raid0 (whole-disks)" + +. $TS_TOPDIR/functions.sh +ts_init "$*" + +ts_check_test_command "$TS_CMD_FDISK" +ts_check_test_command "$TS_CMD_BLKID" + +ts_skip_nonroot +ts_check_losetup +ts_check_prog "mdadm" + +ts_log "Initialize devices" +IMGNAME="${TS_OUTDIR}/${TS_TESTNAME}" + +ts_device_init 50 ${IMGNAME}1.img +DEVICE1=$TS_LODEV + +ts_device_init 50 ${IMGNAME}2.img +DEVICE2=$TS_LODEV + +MD_DEVNAME=md8 +MD_DEVICE=/dev/${MD_DEVNAME} + +ts_lock "md" +mdadm -q -S ${MD_DEVICE} &> /dev/null + +ts_log "Create RAID device" +mdadm -q --create ${MD_DEVICE} --metadata=0.90 --chunk=64 --level=0 \ + --raid-devices=2 ${DEVICE1} ${DEVICE2} >> $TS_OUTPUT 2>&1 + +ts_log "Create partitions on RAID device" +$TS_CMD_FDISK ${MD_DEVICE} >> $TS_OUTPUT 2>&1 <&1 | sort >> $TS_OUTPUT + +ts_log "Probe second RAID member" +$TS_CMD_BLKID -p -o udev $DEVICE1 2>&1 | sort >> $TS_OUTPUT + +ts_log "Stop RAID device" +mdadm -q -S ${MD_DEVICE} >> $TS_OUTPUT 2>&1 + +udevadm settle +ts_unlock "md" + +ts_log "Deinitialize devices" + +ts_fdisk_clean $MD_DEVICE + +# remove generated UUIDs +sed -i -e 's/ID_FS_UUID.*//g' $TS_OUTPUT + +ts_finalize diff --git a/tests/ts/blkid/md-raid1-part b/tests/ts/blkid/md-raid1-part new file mode 100755 index 0000000..3fa6395 --- /dev/null +++ b/tests/ts/blkid/md-raid1-part @@ -0,0 +1,95 @@ +#!/bin/bash + +# +# Copyright (C) 2010 Karel Zak +# +# This file is part of util-linux. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +TS_TOPDIR="${0%/*}/../.." +TS_DESC="MD raid1 (last partition)" + +. $TS_TOPDIR/functions.sh +ts_init "$*" + +ts_check_test_command "$TS_CMD_FDISK" +ts_check_test_command "$TS_CMD_BLKID" + +ts_skip_nonroot +ts_check_prog "mdadm" + +# set global variable TS_DEVICE +ts_scsi_debug_init dev_size_mb=51 sector_size=512 + +ts_log "Create partitions" +$TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>&1 < /dev/null < /dev/null +mdadm -q --create ${MD_DEVICE} --metadata=0.90 --chunk=64 --level=1 \ + --raid-devices=2 ${TS_DEVICE}1 ${TS_DEVICE}2 >> $TS_OUTPUT 2>&1 +udevadm settle + +ts_log "Probe whole-disk" +$TS_CMD_BLKID -p -o udev ${TS_DEVICE} 2>&1 | sort >> $TS_OUTPUT + +ts_log "Probe first RAID member" +$TS_CMD_BLKID -p -o udev ${TS_DEVICE}1 2>&1 | sort >> $TS_OUTPUT + +ts_log "Probe second RAID member" +$TS_CMD_BLKID -p -o udev ${TS_DEVICE}2 2>&1 | sort >> $TS_OUTPUT + +mdadm -q -S ${MD_DEVICE} >> $TS_OUTPUT 2>&1 + +udevadm settle +ts_unlock "md" + +ts_fdisk_clean $TS_DEVICE +# substitue UUIDs and major/minor number before comparison +sed -i \ + -e 's/^\(ID_FS_UUID\)=.*/\1=__ts_uuid__/' \ + -e 's/^\(ID_FS_UUID_ENC\)=.*/\1=__ts_uuid_enc__/' \ + -e 's/^\(ID_PART_ENTRY_DISK\)=.*/\1=__ts_majorminor__/' \ + $TS_OUTPUT + +ts_finalize diff --git a/tests/ts/blkid/md-raid1-whole b/tests/ts/blkid/md-raid1-whole new file mode 100755 index 0000000..ddf4a69 --- /dev/null +++ b/tests/ts/blkid/md-raid1-whole @@ -0,0 +1,93 @@ +#!/bin/bash + +# +# Copyright (C) 2010 Karel Zak +# +# This file is part of util-linux. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +TS_TOPDIR="${0%/*}/../.." +TS_DESC="MD raid1 (whole-disks)" + +. $TS_TOPDIR/functions.sh +ts_init "$*" + +ts_check_test_command "$TS_CMD_FDISK" +ts_check_test_command "$TS_CMD_BLKID" + +ts_skip_nonroot +ts_check_losetup +ts_check_prog "mdadm" + +ts_log "Initialize devices" +IMGNAME="${TS_OUTDIR}/${TS_TESTNAME}" + +ts_device_init 50 ${IMGNAME}1.img +DEVICE1=$TS_LODEV + +ts_device_init 50 ${IMGNAME}2.img +DEVICE2=$TS_LODEV + +MD_DEVNAME=md8 +MD_DEVICE=/dev/${MD_DEVNAME} + +ts_lock "md" + +mdadm -q -S ${MD_DEVICE} &> /dev/null +udevadm settle + +ts_log "Create RAID device" +mdadm -q --create ${MD_DEVICE} --metadata=0.90 --chunk=64 --level=1 \ + --raid-devices=2 ${DEVICE1} ${DEVICE2} >> $TS_OUTPUT 2>&1 +udevadm settle + +ts_log "Create partitions on RAID device" +$TS_CMD_FDISK ${MD_DEVICE} >> $TS_OUTPUT 2>&1 <&1 | sort >> $TS_OUTPUT + +ts_log "Probe second RAID member" +$TS_CMD_BLKID -p -o udev $DEVICE1 2>&1 | sort >> $TS_OUTPUT + +ts_log "Stop RAID device" +mdadm -q -S ${MD_DEVICE} >> $TS_OUTPUT 2>&1 + +udevadm settle +ts_unlock "md" + +ts_log "Deinitialize devices" + +ts_fdisk_clean +# seems that raid1 minimum I/O size has been changed in kernels >4.4.x and >4.8 +sed -i 's@^\(I/O size (minimum/optimal): \)[1-9][0-9]*@\1@' $TS_OUTPUT +# remove generated UUIDs +sed -i -e 's/ID_FS_UUID.*//g' $TS_OUTPUT + +ts_finalize -- cgit v1.2.3