From nobody Mon Feb 9 17:23:21 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=126.com ARC-Seal: i=1; a=rsa-sha256; t=1590069706; cv=none; d=zohomail.com; s=zohoarc; b=H45BuO6oF04lloG10bZjDGxAEkcQrhHzacrX4dvb77o2qL+sA1XG4+s2LZaI+eG6I0ThEyoXLbMxCkJ/n3sOQgkVlutN2toYDshK79l//xngTZ09yuTTuNK6FhZ3U726JsVAeNFVBfHFssC1W1FixHOam9Qv21U3UTvkUPIu5RY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590069706; h=Content-Type:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=A4//dT6n3pz25IRnrBe0341I5sKCoFm6I2GZuk6eFgk=; b=nonWr6ErIe9PbGf3Kcxp/ltA68WA8SqVde21gCBqgKrXYv0a9YhxzHiK8TYnTw0LTx7JAg3wwn+T8MgxsncuJe7sz64pmBMYZBvEjo+5COo82RFn/qnq6Ildlm2tl6C+sKQmoCcfeX/ATfprO+d4Alm3MNYNmTPrfCN/cjfKTtE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTP id 15900697065201017.358773980182; Thu, 21 May 2020 07:01:46 -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-70-AVJwTeaeNpePZCcKdc9q5w-1; Thu, 21 May 2020 10:01:04 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E02F8A0BDC; Thu, 21 May 2020 14:00:58 +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 C11C26EA26; Thu, 21 May 2020 14:00:58 +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 9250A1809547; Thu, 21 May 2020 14:00:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 04LE0HRB002358 for ; Thu, 21 May 2020 10:00:17 -0400 Received: by smtp.corp.redhat.com (Postfix) id F2D992156A53; Thu, 21 May 2020 14:00:16 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B74EB2156A4E for ; Thu, 21 May 2020 14:00:16 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (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 275F8180123F for ; Thu, 21 May 2020 14:00:16 +0000 (UTC) Received: from mail-m963.mail.126.com (mail-m963.mail.126.com [123.126.96.3]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-153-GOizxeuOPzyqldOLm0Ofnw-1; Thu, 21 May 2020 10:00:13 -0400 Received: from bogon.localdomain (unknown [112.80.215.163]) by smtp8 (Coremail) with SMTP id NORpCgBXd0hXicZeL+4iFQ--.246S4; Thu, 21 May 2020 22:00:05 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590069669; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=A4//dT6n3pz25IRnrBe0341I5sKCoFm6I2GZuk6eFgk=; b=VcKoiWkRo6Munro7rl8cuOXxJzGyjIZsKE/2RR6qQZ5PCj5uJ6DkIyyzyXgN0488lJAkFN Xuu/dyEIGThf7ji6nTJ819ShTkrz66FKKCpNnrZ//VgE/7O0zqSU1xtuyms6cejtOlmj4M RJO4Dt4wAZ3ErVW+QNJTBjZNpJe8Dbw= X-MC-Unique: AVJwTeaeNpePZCcKdc9q5w-1 X-MC-Unique: GOizxeuOPzyqldOLm0Ofnw-1 From: Chen Hanxiao To: libvir-list@redhat.com Subject: [PATCH 2/3] downscript: add test case Date: Thu, 21 May 2020 09:59:50 -0400 Message-Id: <1590069591-1946-3-git-send-email-chen_han_xiao@126.com> In-Reply-To: <1590069591-1946-1-git-send-email-chen_han_xiao@126.com> References: <1590069591-1946-1-git-send-email-chen_han_xiao@126.com> X-CM-TRANSID: NORpCgBXd0hXicZeL+4iFQ--.246S4 X-Coremail-Antispam: 1Uf129KBjvJXoWxtF4UCFW3tFWktry5AF1rCrg_yoWxGF4rpa 4DA3W5WF48tr47ZFnY9a1UXryfGrWvk3ZrXa1IvryYg3W2g3W8WF13Kry5KFyUArWrA34F va4kAw4YkwnrAaUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jj2NtUUUUU= X-Originating-IP: [112.80.215.163] X-CM-SenderInfo: xfkh0spkdqs5xldrqiyswou0bp/1tbitAUrrlpEAtH3LQABsi X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com 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.15 X-Mimecast-Spam-Score: 2 X-Mimecast-Originator: redhat.com X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" add a testcase for new element. Signed-off-by: Chen Hanxiao --- tests/qemuxml2argvdata/downscript.xml | 60 +++++++++++++++++++++++++ tests/qemuxml2xmloutdata/downscript.xml | 60 +++++++++++++++++++++++++ tests/qemuxml2xmltest.c | 1 + 3 files changed, 121 insertions(+) create mode 100644 tests/qemuxml2argvdata/downscript.xml create mode 100644 tests/qemuxml2xmloutdata/downscript.xml diff --git a/tests/qemuxml2argvdata/downscript.xml b/tests/qemuxml2argvdata= /downscript.xml new file mode 100644 index 0000000000..70c5f1d376 --- /dev/null +++ b/tests/qemuxml2argvdata/downscript.xml @@ -0,0 +1,60 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + qemu64 + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + + + +
+ + +
+ + +
+ + + +
+ + + + +
+ + + + + +
+ + + +