yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-iotests-055-skip-vmdk-target-tests-if-vmdk-is-not-wh.patch

902636
From 9a0ca4797cbd029dab9209d88f8c81b78ded8fd0 Mon Sep 17 00:00:00 2001
902636
From: Kevin Wolf <kwolf@redhat.com>
902636
Date: Wed, 3 Jun 2020 16:03:18 +0100
902636
Subject: [PATCH 19/26] iotests/055: skip vmdk target tests if vmdk is not
902636
 whitelisted
902636
902636
RH-Author: Kevin Wolf <kwolf@redhat.com>
902636
Message-id: <20200603160325.67506-5-kwolf@redhat.com>
902636
Patchwork-id: 97101
902636
O-Subject: [RHEL-AV-8.2.1 qemu-kvm PATCH v2 04/11] iotests/055: skip vmdk target tests if vmdk is not whitelisted
902636
Bugzilla: 1778593
902636
RH-Acked-by: Eric Blake <eblake@redhat.com>
902636
RH-Acked-by: Max Reitz <mreitz@redhat.com>
902636
RH-Acked-by: Stefano Garzarella <sgarzare@redhat.com>
902636
902636
From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
902636
902636
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
902636
Message-Id: <20200430124713.3067-7-vsementsov@virtuozzo.com>
902636
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
902636
(cherry picked from commit 761cd2e791eae38c3d08ea5f83309ce58bb85ff7)
902636
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
902636
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
902636
---
902636
 tests/qemu-iotests/055 | 4 ++++
902636
 1 file changed, 4 insertions(+)
902636
902636
diff --git a/tests/qemu-iotests/055 b/tests/qemu-iotests/055
902636
index 8666601..c9cdc06 100755
902636
--- a/tests/qemu-iotests/055
902636
+++ b/tests/qemu-iotests/055
902636
@@ -566,6 +566,10 @@ class TestCompressedToQcow2(iotests.QMPTestCase):
902636
 class TestCompressedToVmdk(TestCompressedToQcow2):
902636
     target_fmt = {'type': 'vmdk', 'args': ('-o', 'subformat=streamOptimized')}
902636
 
902636
+    @iotests.skip_if_unsupported(['vmdk'])
902636
+    def setUp(self):
902636
+        pass
902636
+
902636
 
902636
 if __name__ == '__main__':
902636
     iotests.main(supported_fmts=['raw', 'qcow2'],
902636
-- 
902636
1.8.3.1
902636