From nobody Sat May 18 15:08:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 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=1692881488; cv=none; d=zohomail.com; s=zohoarc; b=IpVb1124YAo7xR+ILJ5D6PYy+72i/kK1YsX7/7zGJVY25HjfhFuzYy0TJPRf9itcDeehHZN6tmYIkdoXuqv3F5sWGlGuv3Vh1tHZgLvJ/fmSSTWoNNC5047OeqjT5q9jDKNyYc7EIOYaJwzVA4OtlYvyKNnHFVJBntdum4LYb/M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692881488; 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=OyiaX78Umwfoz2xqKxVUjD3emAlBeSYvcXqr7c9P74M=; b=dDr5AWsVObFkLF/OoD452rzfNdzkAjG03JlvwO+0ms9GM4R51dZMRs4A5FtaTYG6rA1EuYHRMuaLgllchYH5EAsMWBVm3TxqSGyHdlhbyrJV02jxGFxx6/Ina5k+EDJCB2dfggbaqSU/Jplji1YbomC5+zjub3oH/3dDiSNSQqA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1692881488526887.3999671583551; Thu, 24 Aug 2023 05:51:28 -0700 (PDT) Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-166-ibVllOxeOPKdDfLJV6PVKA-1; Thu, 24 Aug 2023 08:51:23 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2A97F3844E13; Thu, 24 Aug 2023 12:51:16 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 10E7B2026D68; Thu, 24 Aug 2023 12:51:16 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C2B9F1946595; Thu, 24 Aug 2023 12:51:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id CF49619465B7 for ; Thu, 24 Aug 2023 12:51:03 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id B06EAC1602E; Thu, 24 Aug 2023 12:51:03 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3584EC1602B for ; Thu, 24 Aug 2023 12:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692881487; 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=OyiaX78Umwfoz2xqKxVUjD3emAlBeSYvcXqr7c9P74M=; b=iWrA+c1DgjIEtvyg8m5Z3OBH10Ck0AMDRy3OZgxBY30nCJg6ogJ/JxQeObAqpE+HefAjxo u4xyCYF+LI5/Pa8pM5fLVLl755msIXvFR07XOfG397MciLS9Oi/kdMyQP3W0ShQrwlPN2M /BkseTMsXtoKWuKJSt/rHz0lKsFmazo= X-MC-Unique: ibVllOxeOPKdDfLJV6PVKA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/2] tests: chxml2xmlin: Fix path format for fake paths Date: Thu, 24 Aug 2023 14:51:00 +0200 Message-ID: <830e3145c388e0e5ac2124a689d6570ae4d56f7f.1692881431.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692881489869100001 Content-Type: text/plain; charset="utf-8" Our XML schema requires absolute paths for the and disk source values. Fix the 'ch' test to have absolute paths. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- tests/chxml2xmlin/basic.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/chxml2xmlin/basic.xml b/tests/chxml2xmlin/basic.xml index 911aa7c621..4cd2f3ae5f 100644 --- a/tests/chxml2xmlin/basic.xml +++ b/tests/chxml2xmlin/basic.xml @@ -6,7 +6,7 @@ 2 hvm - hypervisor-fw + /path/to/hypervisor-fw @@ -16,7 +16,7 @@ /usr/local/bin/cloud-hypervisor - + --=20 2.41.0 From nobody Sat May 18 15:08:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 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=1692881473; cv=none; d=zohomail.com; s=zohoarc; b=HBj2CV6mhj/W/d2VXwSfZcGCMTw+v+QY5dTjbG8D5K3qlMgzSWYrQQPpcQW3mJea/9h+i2OKSirAeFKjSqjFqtm2o0zU40v66sQaG5rzIzvgTr972gnukLAMtu9LiORpusHkU7cwtWshaB/hc9pALU7Ik9ochVwa5A78m0kziTw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692881473; 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=JWeqzJ7U6tHmQ9ckh+Eiw0TbTuDZyhfvnykG/B2lKOw=; b=SLBbYNaTpc8p1fCGSZQRRxWsdFUD5BSDDQpeGV34nN2E9qug/rViFMYQr0t299hqvyU114JV2Z6NlYDQvIMZi+IXf8Fvg8M6HRoI/JFeqWlZaZmuEk4MLORTWGK/h0bGXi41BO++B+abeuHqjQ1guY8q1uNEdZbBOBYBBCkH1IE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1692881473846513.0675267950152; Thu, 24 Aug 2023 05:51:13 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-379-I3T3cI_tNtKNx7yICGL4Rw-1; Thu, 24 Aug 2023 08:51:09 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 00DDF85D062; Thu, 24 Aug 2023 12:51:07 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E07222026D76; Thu, 24 Aug 2023 12:51:06 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B2901194658D; Thu, 24 Aug 2023 12:51:06 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A616A1946589 for ; Thu, 24 Aug 2023 12:51:04 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 868B9C1602B; Thu, 24 Aug 2023 12:51:04 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 10CD8C1602E for ; Thu, 24 Aug 2023 12:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692881472; 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=JWeqzJ7U6tHmQ9ckh+Eiw0TbTuDZyhfvnykG/B2lKOw=; b=VQ5I3WPFRtQ+8ksEis0MVJqVmJOZdUNxno+UVi1zLW6f8p49qO62tkMgwjIXumY4KDCiWY AR1h1yW3eOO8sGBnOWEwnt1nEoEG7/BJuptOwAN2mYccQlcwPJHFDYjMl0ytcUdQ8AhcR/ Cz7CdBePwcJ+I7D9JNKOrrkQvcuCcXc= X-MC-Unique: I3T3cI_tNtKNx7yICGL4Rw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 2/2] virschematest: Validate files in 'chxml2xmlin' and 'chxml2xmlout' directories Date: Thu, 24 Aug 2023 14:51:01 +0200 Message-ID: <0fcf5c7160929af79fab277fb9d37900a0bf3251.1692881431.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692881475460100001 Content-Type: text/plain; charset="utf-8" The test files for the 'ch' driver were not validated against the schema and thus also didn't conform to the schema. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- tests/virschematest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/virschematest.c b/tests/virschematest.c index c8c1527613..c7bfd372c9 100644 --- a/tests/virschematest.c +++ b/tests/virschematest.c @@ -237,6 +237,8 @@ static const struct testSchemaEntry schemaDomain[] =3D { { .dir =3D "tests/xml2vmxdata" }, { .dir =3D "tests/bhyveargv2xmldata" }, { .dir =3D "tests/qemuagentdata" }, + { .dir =3D "tests/chxml2xmlin" }, + { .dir =3D "tests/chxml2xmlout" }, }; static const struct testSchemaEntry schemaDomainCaps[] =3D { --=20 2.41.0