thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

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

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