Blame SOURCES/kvm-qemu-iotests-Add-sample-image-and-test-for-VMDK-vers.patch

9ae3a8
From 8d0b44f2b7bbca158aeb3a732f5689965857edfd Mon Sep 17 00:00:00 2001
9ae3a8
Message-Id: <8d0b44f2b7bbca158aeb3a732f5689965857edfd.1418766606.git.jen@redhat.com>
9ae3a8
In-Reply-To: <6f81b4847eb68ebdf54a8f1a771e19d112d74152.1418766606.git.jen@redhat.com>
9ae3a8
References: <6f81b4847eb68ebdf54a8f1a771e19d112d74152.1418766606.git.jen@redhat.com>
9ae3a8
From: Fam Zheng <famz@redhat.com>
9ae3a8
Date: Thu, 4 Dec 2014 00:04:56 -0600
9ae3a8
Subject: [CHANGE 02/31] qemu-iotests: Add sample image and test for VMDK
9ae3a8
 version 3
9ae3a8
To: rhvirt-patches@redhat.com,
9ae3a8
    jen@redhat.com
9ae3a8
9ae3a8
RH-Author: Fam Zheng <famz@redhat.com>
9ae3a8
Message-id: <1417651524-18041-3-git-send-email-famz@redhat.com>
9ae3a8
Patchwork-id: 62675
9ae3a8
O-Subject: [RHEL-7.1 qemu-kvm PATCH v5 02/30] qemu-iotests: Add sample image and test for VMDK version 3
9ae3a8
Bugzilla: 1134237
9ae3a8
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
9ae3a8
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
9ae3a8
RH-Acked-by: Max Reitz <mreitz@redhat.com>
9ae3a8
9ae3a8
Signed-off-by: Fam Zheng <famz@redhat.com>
9ae3a8
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
9ae3a8
(cherry picked from commit 981cbf59b5360647e908186e7306ee9013a58c88)
9ae3a8
Signed-off-by: Fam Zheng <famz@redhat.com>
9ae3a8
Signed-off-by: Jeff E. Nelson <jen@redhat.com>
9ae3a8
---
9ae3a8
 tests/qemu-iotests/059                                    |   5 +++++
9ae3a8
 tests/qemu-iotests/059.out                                |   5 +++++
9ae3a8
 tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2 | Bin 0 -> 414 bytes
9ae3a8
 3 files changed, 10 insertions(+)
9ae3a8
 create mode 100644 tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2
9ae3a8
9ae3a8
diff --git a/tests/qemu-iotests/059 b/tests/qemu-iotests/059
9ae3a8
index 1ec34d5..23534c2 100755
9ae3a8
--- a/tests/qemu-iotests/059
9ae3a8
+++ b/tests/qemu-iotests/059
9ae3a8
@@ -80,6 +80,11 @@ echo "=== Testing big twoGbMaxExtentFlat ==="
9ae3a8
 IMGOPTS="subformat=twoGbMaxExtentFlat" _make_test_img 1000G
9ae3a8
 $QEMU_IMG info $TEST_IMG | _filter_testdir | sed -e 's/cid: [0-9]*/cid: XXXXXXXX/'
9ae3a8
 
9ae3a8
+echo
9ae3a8
+echo "=== Testing version 3 ==="
9ae3a8
+_use_sample_img iotest-version3.vmdk.bz2
9ae3a8
+_img_info
9ae3a8
+
9ae3a8
 # success, all done
9ae3a8
 echo "*** done"
9ae3a8
 rm -f $seq.full
9ae3a8
diff --git a/tests/qemu-iotests/059.out b/tests/qemu-iotests/059.out
9ae3a8
index 262e3b2..87a2004 100644
9ae3a8
--- a/tests/qemu-iotests/059.out
9ae3a8
+++ b/tests/qemu-iotests/059.out
9ae3a8
@@ -2037,4 +2037,9 @@ Format specific information:
9ae3a8
             virtual size: 2147483648
9ae3a8
             filename: TEST_DIR/t-f500.vmdk
9ae3a8
             format: FLAT
9ae3a8
+
9ae3a8
+=== Testing version 3 ===
9ae3a8
+image: TEST_DIR/iotest-version3.IMGFMT
9ae3a8
+file format: IMGFMT
9ae3a8
+virtual size: 1.0G (1073741824 bytes)
9ae3a8
 *** done
9ae3a8
# JEN 2014-12-16
9ae3a8
# Temporarily disable creating of this bz2 file, because brew does
9ae3a8
# not support binary patches. When we have a solution for how to
9ae3a8
# incorporate this, this section will be adjusted accordingly.
9ae3a8
# JEN 2014-12-16
9ae3a8
#diff --git a/tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2 b/tests/qemu-iotests/sample_images/iotest-version3.vmdk.bz2
9ae3a8
#new file mode 100644
9ae3a8
#index 0000000000000000000000000000000000000000..30abf217e72d38e97b1e34a5db6add15ca3812d9
9ae3a8
#GIT binary patch
9ae3a8
#literal 414
9ae3a8
#zcmV;P0b%|^T4*^jL0KkKS-4ab^Z){!-`M?
9ae3a8
#z+94F$O))(usK{+bfDHzK0MKX+G7S`-Q`Ge`dYS+L00uw+000t1nx~
9ae3a8
#z00uw<K=hVO#1Ez%h~;8tm5}gs2_-azgp&-Agak%FkPaO6#E>Q}oWup($ZYNuP+onz
9ae3a8
#zC89&oo+5m#SRo3f$tj3j4cj-uY<9AFkA%eEJTaa)*;e;U06X$QBY(3aGcne4@Z5Q`
9ae3a8
#zOld1c2c2n5eaHx1cF@GqGfd88M9D~UB914v;WOL96@WSu-<9};viD>nCB_lZ=L5MA
9ae3a8
#zWAhh{E!lb{@J3L6J+%};gkaKNrNrxivB)qiB85a>b>(iaNAFyd9Z|7XRWs!&h*2TY
9ae3a8
#z2uM_*TOC2Lp=5yL%rudbN4;JP^)svmH_P%A-P+35?p=v$3M>tU*);6x0S=pmRj{{|
9ae3a8
#z7O
9ae3a8
#IkhoM7^luBcZ~y=R
9ae3a8
#
9ae3a8
#literal 0
9ae3a8
#HcmV?d00001
9ae3a8
#
9ae3a8
-- 
9ae3a8
2.1.0
9ae3a8