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