From nobody Mon Feb 9 13:38:38 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1567024423; cv=none; d=zoho.com; s=zohoarc; b=G/CNxNDuoL0LZEewtYaEtaeUx8brp/MO2pAigh88vAyteVcGcaHDB5ag4fWGLrk9UfQearf0yDiqgSVuq9ivG3dHU8rEn3nRMu6+bd0roJbh3IJKeNoM0x7PogIuLfcVOE9vM4e9R2QXi2PDtPyjvuZMv40DgKUOTcWCsJQTgS4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567024423; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=CcgHXgkm2JgeLSGnv3/YkgOJw8DhDXTbELxBMzrSBCo=; b=MBwSCry8+tQOViTnJiBwah2Pmlv/JyTxsxCDvKKXd6LnF0K0E1l45s/QxrRTXZNtKcxctguOgsNDk9JbY1cm3jZDjewMpfT3vjo/E4tbUR+v0M20LeQ6D4TZ57wArdo5nlhsdZiO93BZRw26sNc2ztuEne1T8oJBCPiWUGdG9mE= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1567024423142997.9237622109142; Wed, 28 Aug 2019 13:33:43 -0700 (PDT) Received: from localhost ([::1]:42454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i34dR-0001EC-66 for importer@patchew.org; Wed, 28 Aug 2019 16:33:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44158) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i33kG-0008WQ-EW for qemu-devel@nongnu.org; Wed, 28 Aug 2019 15:36:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i33kF-0001o6-9L for qemu-devel@nongnu.org; Wed, 28 Aug 2019 15:36:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43682) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i33kF-0001nm-4i for qemu-devel@nongnu.org; Wed, 28 Aug 2019 15:36:39 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7D196C0021D7 for ; Wed, 28 Aug 2019 19:36:38 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-123-242.rdu2.redhat.com [10.10.123.242]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9F6DE6107E; Wed, 28 Aug 2019 19:36:37 +0000 (UTC) From: Cleber Rosa To: qemu-devel@nongnu.org Date: Wed, 28 Aug 2019 15:36:27 -0400 Message-Id: <20190828193628.7687-3-crosa@redhat.com> In-Reply-To: <20190828193628.7687-1-crosa@redhat.com> References: <20190828193628.7687-1-crosa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 28 Aug 2019 19:36:38 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 2/3] Acceptance test x86_cpu_model_versions: fix mismatches between test and messages 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: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Eduardo Habkost , Wainer dos Santos Moschetta , Cleber Rosa Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" This fixes a few mismatches between the test and the error messages produced in case of failures. Signed-off-by: Cleber Rosa --- tests/acceptance/x86_cpu_model_versions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/x86_cpu_model_versions.py b/tests/acceptance/= x86_cpu_model_versions.py index e6c76b0d4c..220d18f68d 100644 --- a/tests/acceptance/x86_cpu_model_versions.py +++ b/tests/acceptance/x86_cpu_model_versions.py @@ -280,7 +280,7 @@ class X86CPUModelAliases(avocado_qemu.Test): vm.add_args('-cpu', 'Cascadelake-Server-v1,x-force-features=3Don,c= heck=3Doff,enforce=3Doff') vm.launch() self.assertFalse(get_cpu_prop(vm, 'arch-capabilities'), - 'pc-i440fx-4.1 + Cascadelake-Server-v1 should not= have arch-capabilities') + 'pc-i440fx-4.0 + Cascadelake-Server-v1 should not= have arch-capabilities') vm.shutdown() =20 vm =3D self.get_vm() @@ -289,14 +289,14 @@ class X86CPUModelAliases(avocado_qemu.Test): vm.add_args('-cpu', 'Cascadelake-Server-v2,x-force-features=3Don,c= heck=3Doff,enforce=3Doff') vm.launch() self.assertTrue(get_cpu_prop(vm, 'arch-capabilities'), - 'pc-i440fx-4.1 + Cascadelake-Server-v1 should hav= e arch-capabilities') + 'pc-i440fx-4.0 + Cascadelake-Server-v2 should hav= e arch-capabilities') vm.shutdown() =20 # command line must override machine-type and versioned CPU model: vm =3D self.get_vm() vm.add_args('-S') vm.set_machine('pc-i440fx-4.0') - vm.add_args('-cpu', 'Cascadelake-Server,x-force-features=3Don,chec= k=3Doff,enforce=3Doff,+arch-capabilities') + vm.add_args('-cpu', 'Cascadelake-Server-v1,x-force-features=3Don,c= heck=3Doff,enforce=3Doff,+arch-capabilities') vm.launch() self.assertTrue(get_cpu_prop(vm, 'arch-capabilities'), 'pc-i440fx-4.0 + Cascadelake-Server-v1,+arch-capa= bilities should have arch-capabilities') --=20 2.21.0