From nobody Mon Feb 9 11:47:21 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1571827413; cv=none; d=zoho.com; s=zohoarc; b=h1jKEWcJUoXScVVxMqRqV22lIrBcmTEn9kOFMd7hQ2tx1sBfVY8gydvdoNnLbT87co3eLkwslmCGzBhHnqrlRh0nG/6jF4G+88ibsq39vMpRhVcKLGqwfR0YRuoi/lzGw4+RL+GCt7RPSvAnXS5j4KE3R8JjXqesYVIqEsCkCs4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571827413; h=Content-Type:Content-Transfer-Encoding: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; bh=mW2/prthOfOrrA/mDViiqvWqe5g6CHm9O0/GRMP+2s0=; b=koN93uW49cU9VR6NZtJT2g3KYEZSzBwADJXBwv4lloGf40RYuRFeI4NVLQfzrJzzg66kDWdWwStGCWtCbQ4x+GfGO0P4jJYhNVrCbJjOsIEIUvbQVWGwR685IW33bO8v1nLcl6+iSCcz1JBzDOnca3OKc2Wpqs7oQ84U9q2mp00= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 157182741341514.100866073661564; Wed, 23 Oct 2019 03:43:33 -0700 (PDT) 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-65-T1oi1MLHPAiJsGBKEkjkBA-1; Wed, 23 Oct 2019 06:43:28 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5C3151005512; Wed, 23 Oct 2019 10:43:24 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3450C798B; Wed, 23 Oct 2019 10:43:24 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id EB48A4E9F2; Wed, 23 Oct 2019 10:43:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x9NAhL8l020298 for ; Wed, 23 Oct 2019 06:43:21 -0400 Received: by smtp.corp.redhat.com (Postfix) id E65C160E1C; Wed, 23 Oct 2019 10:43:21 +0000 (UTC) Received: from kinshicho.redhat.com (unknown [10.40.205.44]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 521A8BA79 for ; Wed, 23 Oct 2019 10:43:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571827412; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=mW2/prthOfOrrA/mDViiqvWqe5g6CHm9O0/GRMP+2s0=; b=h3c0T0QIfrEeC5IP1THZFmba/yqXWsDm4aCndw2BOZ12xXr4BDpvK8FoVupMqPWSKnU0u+ 4UksBZsarJ66493mIFHoc6JLPGW1L+05ngD+VqIYSLAv27Z1NZliIjXNlIH/xeLnqw19Bi xw2jMg7StZCvgbJ2s2tXpW0slXmaHVk= From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 23 Oct 2019 12:42:58 +0200 Message-Id: <20191023104302.26669-9-abologna@redhat.com> In-Reply-To: <20191023104302.26669-1-abologna@redhat.com> References: <20191023104302.26669-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 08/12] tests/domaincaps: Don't mess with test name X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: T1oi1MLHPAiJsGBKEkjkBA-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Requiring the user to provide the final string themselves will make subsequent changes easier to implement. Signed-off-by: Andrea Bolognani --- tests/domaincapstest.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c index 7a69543a45..f38f5fb047 100644 --- a/tests/domaincapstest.c +++ b/tests/domaincapstest.c @@ -299,9 +299,8 @@ mymain(void) #define DO_TEST_QEMU(Name, CapsName, Emulator, Machine, Arch, Type) \ do { \ char *name =3D NULL; \ - if (virAsprintf(&name, "qemu_%s%s%s.%s", \ + if (virAsprintf(&name, "qemu_%s.%s", \ Name, \ - Machine ? "-" : "", Machine ? Machine : "", \ Arch) < 0) { \ ret =3D -1; \ break; \ @@ -387,7 +386,7 @@ mymain(void) "/usr/bin/qemu-system-x86_64", NULL, "x86_64", VIR_DOMAIN_VIRT_KVM); =20 - DO_TEST_QEMU("2.9.0", "caps_2.9.0", + DO_TEST_QEMU("2.9.0-q35", "caps_2.9.0", "/usr/bin/qemu-system-x86_64", "q35", "x86_64", VIR_DOMAIN_VIRT_KVM); =20 @@ -403,11 +402,11 @@ mymain(void) "/usr/bin/qemu-system-aarch64", NULL, "aarch64", VIR_DOMAIN_VIRT_KVM); =20 - DO_TEST_QEMU("2.6.0", "caps_2.6.0", + DO_TEST_QEMU("2.6.0-virt", "caps_2.6.0", "/usr/bin/qemu-system-aarch64", "virt", "aarch64", VIR_DOMAIN_VIRT_KVM); =20 - DO_TEST_QEMU("2.12.0", "caps_2.12.0", + DO_TEST_QEMU("2.12.0-virt", "caps_2.12.0", "/usr/bin/qemu-system-aarch64", "virt", "aarch64", VIR_DOMAIN_VIRT_KVM); =20 --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list