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

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