[PATCH] libblkid: add test cases for VMFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Mike Hommey <mh@xxxxxxxxxxxx>
---
 tests/expected/blkid/low-probe-vmfs          |    7 +++++++
 tests/expected/blkid/low-probe-vmfs_volume   |    7 +++++++
 tests/ts/blkid/images-fs/vmfs.img.bz2        |  Bin 0 -> 144 bytes
 tests/ts/blkid/images-fs/vmfs_volume.img.bz2 |  Bin 0 -> 276 bytes
 4 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 tests/expected/blkid/low-probe-vmfs
 create mode 100644 tests/expected/blkid/low-probe-vmfs_volume
 create mode 100644 tests/ts/blkid/images-fs/vmfs.img.bz2
 create mode 100644 tests/ts/blkid/images-fs/vmfs_volume.img.bz2

diff --git a/tests/expected/blkid/low-probe-vmfs b/tests/expected/blkid/low-probe-vmfs
new file mode 100644
index 0000000..1618e30
--- /dev/null
+++ b/tests/expected/blkid/low-probe-vmfs
@@ -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
index 0000000..0d4dd83
--- /dev/null
+++ b/tests/expected/blkid/low-probe-vmfs_volume
@@ -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
index 0000000000000000000000000000000000000000..09401430f93c68314e35113f945c3daafef26cf4
GIT binary patch
literal 144
zc-nJ{%CIzaj8qGbRLbHvVh|9mzyF2Ff#romLxYF{12YptivkA&0|y8<urP3G_$V-x
z2u+e=V8}3$s%r95YinR&U|ipM?#scB#)e4@40BIZ%Y0kXqQD@1Y-8(TK?Vl~xx2a(
w?(TGBbCI{1lKIN=?iZ`#V*=k#xa6$r?pm$o!pOi-|LC2^axNhjU&m(-0NK1SNdN!<

literal 0
Hc-jL100001

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
index 0000000000000000000000000000000000000000..77f0a6a235a188b69e27558e9ee8311c971739fa
GIT binary patch
literal 276
zc-jFJ0qg!kT4*^jL0KkKS$*P`lK==2|L_0C$S`0-e(>BZj{?6(2MI_306+);Kmgzs
z0Kx!BumIMx5lo4R<p2!>Kn*=cfuJ<d2b6lAkQyN)(hPtGfEoY*00Te(l!^cV05kvq
z00003)OMpvQ}wMZtLk%2LP<+NA|L<&4GIb|8H5H*jKfWqf(QTtlmZ9<4io{;V$hm5
zS|A_*0BpkgqI1qwmczzdTQnFj7H$}sqy%9$0dI98uz1+g%m#k&Oxp%#x0bVICmuo_
z0Sb6ik~Yjito&NG5-`h&h-j|At#~aE=m9y}<JKy|$9S4%AP*AGba}Rz{(C}-vXx|D
anA|<COkl=9L<9f>_`8xR!i0nG6ttN7P-vb2

literal 0
Hc-jL100001

-- 
1.6.4.3

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux