yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
ae23c9
From aa10e475ab14f9365d52f08eaee0155c5f4aa634 Mon Sep 17 00:00:00 2001
ae23c9
From: John Snow <jsnow@redhat.com>
ae23c9
Date: Wed, 18 Jul 2018 22:54:54 +0200
ae23c9
Subject: [PATCH 236/268] iotests: 222: Don't run with luks
ae23c9
ae23c9
RH-Author: John Snow <jsnow@redhat.com>
ae23c9
Message-id: <20180718225511.14878-19-jsnow@redhat.com>
ae23c9
Patchwork-id: 81422
ae23c9
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH 18/35] iotests: 222: Don't run with luks
ae23c9
Bugzilla: 1207657
ae23c9
RH-Acked-by: Eric Blake <eblake@redhat.com>
ae23c9
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
ae23c9
RH-Acked-by: Fam Zheng <famz@redhat.com>
ae23c9
ae23c9
From: Fam Zheng <famz@redhat.com>
ae23c9
ae23c9
Luks needs special parameters to operate the image. Since this test is
ae23c9
focusing on image fleecing, skip skip that format.
ae23c9
ae23c9
Signed-off-by: Fam Zheng <famz@redhat.com>
ae23c9
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
ae23c9
(cherry picked from commit e79c4cd1909c05a2cab6517a9c00445bd2d880a6)
ae23c9
Signed-off-by: John Snow <jsnow@redhat.com>
ae23c9
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
ae23c9
---
ae23c9
 tests/qemu-iotests/222 | 2 ++
ae23c9
 1 file changed, 2 insertions(+)
ae23c9
ae23c9
diff --git a/tests/qemu-iotests/222 b/tests/qemu-iotests/222
ae23c9
index ff3bfc1..0ead56d 100644
ae23c9
--- a/tests/qemu-iotests/222
ae23c9
+++ b/tests/qemu-iotests/222
ae23c9
@@ -25,6 +25,8 @@ import iotests
ae23c9
 from iotests import log, qemu_img, qemu_io, qemu_io_silent
ae23c9
 
ae23c9
 iotests.verify_platform(['linux'])
ae23c9
+iotests.verify_image_format(supported_fmts=['qcow2', 'qcow', 'qed', 'vmdk',
ae23c9
+                                            'vhdx', 'raw'])
ae23c9
 
ae23c9
 patterns = [("0x5d", "0",         "64k"),
ae23c9
             ("0xd5", "1M",        "64k"),
ae23c9
-- 
ae23c9
1.8.3.1
ae23c9