]> err.no Git - util-linux/commitdiff
libblkid: add test cases for VMFS
authorMike Hommey <mh@glandium.org>
Fri, 16 Oct 2009 10:38:10 +0000 (12:38 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Oct 2009 12:42:36 +0000 (13:42 +0100)
Signed-off-by: Mike Hommey <mh@glandium.org>
tests/expected/blkid/low-probe-vmfs [new file with mode: 0644]
tests/expected/blkid/low-probe-vmfs_volume [new file with mode: 0644]
tests/ts/blkid/images-fs/vmfs.img.bz2 [new file with mode: 0644]
tests/ts/blkid/images-fs/vmfs_volume.img.bz2 [new file with mode: 0644]

diff --git a/tests/expected/blkid/low-probe-vmfs b/tests/expected/blkid/low-probe-vmfs
new file mode 100644 (file)
index 0000000..1618e30
--- /dev/null
@@ -0,0 +1,7 @@
+ID_FS_LABEL_ENC=toto
+ID_FS_LABEL=toto
+ID_FS_TYPE=VMFS
+ID_FS_USAGE=filesystem
+ID_FS_UUID=49edf844-ebfc28f3-65cb-0021280083cf
+ID_FS_UUID_ENC=49edf844-ebfc28f3-65cb-0021280083cf
+ID_FS_VERSION=31
diff --git a/tests/expected/blkid/low-probe-vmfs_volume b/tests/expected/blkid/low-probe-vmfs_volume
new file mode 100644 (file)
index 0000000..0d4dd83
--- /dev/null
@@ -0,0 +1,7 @@
+ID_FS_TYPE=VMFS_volume_member
+ID_FS_USAGE=raid
+ID_FS_UUID=49edf842-dcb35d37-b383-0021280083cf
+ID_FS_UUID_ENC=49edf842-dcb35d37-b383-0021280083cf
+ID_FS_UUID_SUB=49edf844-da2dde19-747b-0021280083cf
+ID_FS_UUID_SUB_ENC=49edf844-da2dde19-747b-0021280083cf
+ID_FS_VERSION=3
diff --git a/tests/ts/blkid/images-fs/vmfs.img.bz2 b/tests/ts/blkid/images-fs/vmfs.img.bz2
new file mode 100644 (file)
index 0000000..0940143
Binary files /dev/null and b/tests/ts/blkid/images-fs/vmfs.img.bz2 differ
diff --git a/tests/ts/blkid/images-fs/vmfs_volume.img.bz2 b/tests/ts/blkid/images-fs/vmfs_volume.img.bz2
new file mode 100644 (file)
index 0000000..77f0a6a
Binary files /dev/null and b/tests/ts/blkid/images-fs/vmfs_volume.img.bz2 differ