From patchwork Thu Dec 19 14:38:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Reitz X-Patchwork-Id: 11303801 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4A4BE921 for ; Thu, 19 Dec 2019 14:48:45 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 200BB2053B for ; Thu, 19 Dec 2019 14:48:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EDSrq+oR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 200BB2053B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:43032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihx6Z-0002OF-QB for patchwork-qemu-devel@patchwork.kernel.org; Thu, 19 Dec 2019 09:48:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58630) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihwxP-0005Rt-MK for qemu-devel@nongnu.org; Thu, 19 Dec 2019 09:39:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihwxO-0006kX-Jk for qemu-devel@nongnu.org; Thu, 19 Dec 2019 09:39:15 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:21387 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ihwxO-0006iJ-6x for qemu-devel@nongnu.org; Thu, 19 Dec 2019 09:39:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576766353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GQbKr/sniJEZGRDbZ7AH+J3gho1VvW8izxsWmwQypRw=; b=EDSrq+oRmjh3PxaqCzhtTMli0sIY2i9VJXOKZ2U5OPKROwWWJQh8VY/B3otdZgqB5NqALC vnvWwbUAANuus87//oWSaC+BQREtZ3q0CfXNwOA/SUfreQKVI7TsjQyhe1jLCwFb36pk9q o8+SyrVCb/YJYumYhM5aXhaaTWIvLsA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-167-dROfp2bCMb-VP4ftyuhRUw-1; Thu, 19 Dec 2019 09:39:12 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 873CD7A12A; Thu, 19 Dec 2019 14:39:11 +0000 (UTC) Received: from localhost (ovpn-205-138.brq.redhat.com [10.40.205.138]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0978163BB3; Thu, 19 Dec 2019 14:39:10 +0000 (UTC) From: Max Reitz To: qemu-block@nongnu.org Subject: [PATCH 14/18] iotests: Restrict some Python tests to file Date: Thu, 19 Dec 2019 15:38:14 +0100 Message-Id: <20191219143818.1646168-15-mreitz@redhat.com> In-Reply-To: <20191219143818.1646168-1-mreitz@redhat.com> References: <20191219143818.1646168-1-mreitz@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: dROfp2bCMb-VP4ftyuhRUw-1 X-Mimecast-Spam-Score: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.81 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , qemu-devel@nongnu.org, Max Reitz Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Most Python tests are restricted to the file protocol (without explicitly saying so), but these are the ones that would break ./check -fuse -qcow2. Signed-off-by: Max Reitz --- tests/qemu-iotests/206 | 1 + tests/qemu-iotests/242 | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/qemu-iotests/206 b/tests/qemu-iotests/206 index 5bb738bf23..b3e8c5bb96 100755 --- a/tests/qemu-iotests/206 +++ b/tests/qemu-iotests/206 @@ -24,6 +24,7 @@ import iotests from iotests import imgfmt iotests.verify_image_format(supported_fmts=['qcow2']) +iotests.verify_protocol(supported=['file']) def blockdev_create(vm, options): result = vm.qmp_log('blockdev-create', diff --git a/tests/qemu-iotests/242 b/tests/qemu-iotests/242 index c176e92da6..452fbb7b80 100755 --- a/tests/qemu-iotests/242 +++ b/tests/qemu-iotests/242 @@ -25,6 +25,7 @@ from iotests import qemu_img_create, qemu_io, qemu_img_pipe, \ file_path, img_info_log, log, filter_qemu_io iotests.verify_image_format(supported_fmts=['qcow2']) +iotests.verify_protocol(supported=['file']) disk = file_path('disk') chunk = 256 * 1024