From nobody Thu Mar 28 19:42:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1605729603; cv=none; d=zohomail.com; s=zohoarc; b=Vkm4GKnO1Gz/jPe51F9I0YabfGsDtNzGWy7Ie4JU4dCkd0o1qIa7KfcHXxBaGo4liftI2OCoyr7W8KWrdV9fh/M+pMFp2j1IfF2K0rKn+v8IxJJhY+jlWoI5EcV8iJoFguyY/yo6UN6dDqtknDnvD6E2YCpNwKyfCPuqmdGsDIs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605729603; h=Content-Type: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; bh=btQSi88saLWJ0DLeVnFUToZ/RvnuchWa+xiCR4qjHAY=; b=ikgj/315UdclKffEZ+9QlAOVwVChJ8/bdqv18gR7gXF1tFUEack2uP2Wcb/LOmxYXKYg+oTim7en/t6NKlkYnwcIM+obpCHOjM4KYKAgVORkwR6XtbqgqauEkEC6AUezQcMX4aXRKtSgPU2cFA5nkJmjMKr/bQDtqraRHqxuF7M= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1605729603626897.2721481452945; Wed, 18 Nov 2020 12:00:03 -0800 (PST) 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-135-25ewOc90PhysqY82HF3ADA-1; Wed, 18 Nov 2020 14:59:22 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4A8BB81CB02; Wed, 18 Nov 2020 19:59:16 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DDD156085D; Wed, 18 Nov 2020 19:59:15 +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 A14AA1809CA0; Wed, 18 Nov 2020 19:59:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0AIJx1TC021619 for ; Wed, 18 Nov 2020 14:59:01 -0500 Received: by smtp.corp.redhat.com (Postfix) id 65848218DA36; Wed, 18 Nov 2020 19:59:01 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 609802011557 for ; Wed, 18 Nov 2020 19:58:58 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E9EF31021F60 for ; Wed, 18 Nov 2020 19:58:57 +0000 (UTC) Received: from mail-qv1-f65.google.com (mail-qv1-f65.google.com [209.85.219.65]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-478-BvJXd9FzPHioO7zo6MeAFw-1; Wed, 18 Nov 2020 14:58:55 -0500 Received: by mail-qv1-f65.google.com with SMTP id u23so1684215qvf.1 for ; Wed, 18 Nov 2020 11:58:55 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c7:d88a:482:7c39:5cca:96f6]) by smtp.gmail.com with ESMTPSA id n21sm7022757qke.21.2020.11.18.11.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2020 11:58:54 -0800 (PST) X-MC-Unique: 25ewOc90PhysqY82HF3ADA-1 X-MC-Unique: BvJXd9FzPHioO7zo6MeAFw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=btQSi88saLWJ0DLeVnFUToZ/RvnuchWa+xiCR4qjHAY=; b=VGc8xwplPkiNo6uIljw3AXI5HvJE36b7fIn7Fj1B1JgXUZNxxG9rmEJp6QdlhtFvUM szkD1K648TMp/YGbHCl0QvV+tTONyXdFUYRE29p8nbkEndmsE3eNaaF8ypelpgUYUSSa 6qb2LjdIqSebUnE49tA6OnU8uS6vBo+78swG9rLxxugmevd7Hwyq0jvzDWfpVee6VmcZ MK2D9gSNZ27cBSuMh6QqcRRNXPfJW0bnacO+qhBNN6j8fvjGmxHHqgJ6Ha8ajCVoApDg +7ediKf5+S0riC1qntIDHAIxZ+Ah3X/EIwL9CRiHgz+3h/UpWVulDlL+Y3scVvp57Y5U RQKA== X-Gm-Message-State: AOAM531zOOHnaCh5M8oLYLD4Vz2XwcIcj0trJdS0BC8Vcnl52t9ieMWv A0ax0WmyxoTJaTzJh6Pion3d5CMnebKbjw== X-Google-Smtp-Source: ABdhPJzWIvanhhkhymiUSpvogDRxtu2ctQnfqJAeB7/Wf9aybh/bXSSdhoSwXXNGSSFmsliMKIjioA== X-Received: by 2002:ad4:5221:: with SMTP id r1mr6327685qvq.59.1605729534883; Wed, 18 Nov 2020 11:58:54 -0800 (PST) From: Daniel Henrique Barboza To: libvir-list@redhat.com Subject: [PATCH v2 4/6] qemuxml2xmltest.c: honor ARG_PARSEFLAGS Date: Wed, 18 Nov 2020 16:58:32 -0300 Message-Id: <20201118195834.1187381-5-danielhb413@gmail.com> In-Reply-To: <20201118195834.1187381-1-danielhb413@gmail.com> References: <20201118195834.1187381-1-danielhb413@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Cc: Daniel Henrique Barboza 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.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" At this moment, it is not possible to create a test specifying ARG_PARSEFLAGS because info->parseFlags is not being forwarded to testCompareDomXML2XMLFiles(). Let's fix it now so next patch can make use of it. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Andrea Bolognani --- tests/qemuxml2xmltest.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index c006719dee..603ba71686 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -32,7 +32,8 @@ testXML2XMLActive(const void *opaque) const struct testQemuInfo *info =3D opaque; =20 return testCompareDomXML2XMLFiles(driver.caps, driver.xmlopt, - info->infile, info->outfile, true, 0, + info->infile, info->outfile, true, + info->parseFlags, TEST_COMPARE_DOM_XML2XML_RESULT_SUCC= ESS); } =20 @@ -43,7 +44,8 @@ testXML2XMLInactive(const void *opaque) const struct testQemuInfo *info =3D opaque; =20 return testCompareDomXML2XMLFiles(driver.caps, driver.xmlopt, - info->infile, info->outfile, false, = 0, + info->infile, info->outfile, false, + info->parseFlags, TEST_COMPARE_DOM_XML2XML_RESULT_SUCC= ESS); } =20 --=20 2.26.2