]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: (vxfs) add test files
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 14 Oct 2023 10:14:42 +0000 (12:14 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 14 Oct 2023 10:57:21 +0000 (12:57 +0200)
The test files have been constructed manually from the prober.
While not providing a real test at least they make sure that the
existing logic stays stable.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/expected/blkid/low-probe-vxfs-be [new file with mode: 0644]
tests/expected/blkid/low-probe-vxfs-le [new file with mode: 0644]
tests/ts/blkid/images-fs/vxfs-be.img.xz [new file with mode: 0644]
tests/ts/blkid/images-fs/vxfs-le.img.xz [new file with mode: 0644]

diff --git a/tests/expected/blkid/low-probe-vxfs-be b/tests/expected/blkid/low-probe-vxfs-be
new file mode 100644 (file)
index 0000000..bede9b6
--- /dev/null
@@ -0,0 +1,6 @@
+ID_FS_BLOCK_SIZE=512
+ID_FS_ENDIANNESS=BIG
+ID_FS_FSBLOCKSIZE=512
+ID_FS_TYPE=vxfs
+ID_FS_USAGE=filesystem
+ID_FS_VERSION=3
diff --git a/tests/expected/blkid/low-probe-vxfs-le b/tests/expected/blkid/low-probe-vxfs-le
new file mode 100644 (file)
index 0000000..ba29986
--- /dev/null
@@ -0,0 +1,6 @@
+ID_FS_BLOCK_SIZE=512
+ID_FS_ENDIANNESS=LITTLE
+ID_FS_FSBLOCKSIZE=512
+ID_FS_TYPE=vxfs
+ID_FS_USAGE=filesystem
+ID_FS_VERSION=3
diff --git a/tests/ts/blkid/images-fs/vxfs-be.img.xz b/tests/ts/blkid/images-fs/vxfs-be.img.xz
new file mode 100644 (file)
index 0000000..61ff461
Binary files /dev/null and b/tests/ts/blkid/images-fs/vxfs-be.img.xz differ
diff --git a/tests/ts/blkid/images-fs/vxfs-le.img.xz b/tests/ts/blkid/images-fs/vxfs-le.img.xz
new file mode 100644 (file)
index 0000000..f4643a5
Binary files /dev/null and b/tests/ts/blkid/images-fs/vxfs-le.img.xz differ