From: Anatoly Pugachev Date: Tue, 3 Sep 2019 16:08:22 +0000 (+0300) Subject: tests: Add test for current version (v5) of XFS filesystem X-Git-Tag: v2.35-rc1~233^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=037bc610e54c217412247805ea6140fc08912c5b;p=thirdparty%2Futil-linux.git tests: Add test for current version (v5) of XFS filesystem Old xfs.img cannot be used with current version (5.0) of xfsprogs, so create a new version of xfs-v5.img. Since I wasn't able to find logs on how was created old xfs.img, saving create log with this commit message: $ fallocate -l 16M xfs-v5.img $ mkfs.xfs -L test-xfs-v5 xfs-v5.img $ ./blkid -p -o udev xfs-v5.img | sort -V > tests/expected/blkid/low-probe-xfs-v5 $ xz -c xfs-v5.img > tests/ts/blkid/images-fs/xfs-v5.img.xz Signed-off-by: Anatoly Pugachev --- diff --git a/tests/expected/blkid/low-probe-xfs-v5 b/tests/expected/blkid/low-probe-xfs-v5 new file mode 100644 index 0000000000..513a3818f9 --- /dev/null +++ b/tests/expected/blkid/low-probe-xfs-v5 @@ -0,0 +1,7 @@ +ID_FS_BLOCK_SIZE=512 +ID_FS_LABEL=test-xfs-v5 +ID_FS_LABEL_ENC=test-xfs-v5 +ID_FS_TYPE=xfs +ID_FS_USAGE=filesystem +ID_FS_UUID=3fdcb214-0f39-466d-a81a-a1fb114fe7cd +ID_FS_UUID_ENC=3fdcb214-0f39-466d-a81a-a1fb114fe7cd diff --git a/tests/ts/blkid/images-fs/xfs-v5.img.xz b/tests/ts/blkid/images-fs/xfs-v5.img.xz new file mode 100644 index 0000000000..e2399e310a Binary files /dev/null and b/tests/ts/blkid/images-fs/xfs-v5.img.xz differ