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 <matorola@gmail.com>
This commit is contained in:
Anatoly Pugachev 2019-09-03 19:08:22 +03:00
parent 03154d2cf2
commit 037bc610e5
2 changed files with 7 additions and 0 deletions

View File

@ -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

Binary file not shown.