]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: mdraid: add test for version 1 superblock
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 11 Sep 2022 14:53:48 +0000 (16:53 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 13 Sep 2022 08:05:25 +0000 (10:05 +0200)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/expected/blkid/low-probe-mdraid-1 [new file with mode: 0644]
tests/ts/blkid/images-fs/mdraid-1.img.xz [new file with mode: 0644]

diff --git a/tests/expected/blkid/low-probe-mdraid-1 b/tests/expected/blkid/low-probe-mdraid-1
new file mode 100644 (file)
index 0000000..14c257b
--- /dev/null
@@ -0,0 +1,9 @@
+ID_FS_LABEL=troy.t-8ch.de:0
+ID_FS_LABEL_ENC=troy.t-8ch.de:0
+ID_FS_TYPE=linux_raid_member
+ID_FS_USAGE=raid
+ID_FS_UUID=77e61baf-c0b5-d7d0-39cf-575b64d4878c
+ID_FS_UUID_ENC=77e61baf-c0b5-d7d0-39cf-575b64d4878c
+ID_FS_UUID_SUB=379f6ef9-e75a-12c1-11f1-d883ff168e1d
+ID_FS_UUID_SUB_ENC=379f6ef9-e75a-12c1-11f1-d883ff168e1d
+ID_FS_VERSION=1.2
diff --git a/tests/ts/blkid/images-fs/mdraid-1.img.xz b/tests/ts/blkid/images-fs/mdraid-1.img.xz
new file mode 100644 (file)
index 0000000..c17ad3b
Binary files /dev/null and b/tests/ts/blkid/images-fs/mdraid-1.img.xz differ