From nobody Fri May 10 06:06:51 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1629360364; cv=none; d=zohomail.com; s=zohoarc; b=GDUZoM7EB+ZpVWkuGNGq1M1NmyQCq840P07OPFR0MvamJ2OIww1Jkle/bmQQRQ1h7dg3Jh4SMUyUgfEHJ2v2wYNn54XNX/wWmAOdXUoILk+Fn3vsSqUcaYxn4oo7J0YmUQgoZoDTwwwt9FFmmDTdF+Nf6xR8Yp7zC7SpFP/I9tw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629360364; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=dcxt9OegCjtiHEHyCAAKfR52jJVwR0wJgFl2oV1JaBE=; b=HIbJ/43EZ5G+ckRqpQTi3+3Dy3/a4ncKFYd7T/x34LhXLARhkNi+/D3aw5SKg+1u6aiXFPi8X0aDv+B1zaedSeArG63My4QY8SuqVuYQMQowJNA++fyRwZMZ4ggnyYdRzaw3UTl7EvoN+mjbeB8vIowqlugDqotQwG2r3kRwrEs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1629360364850620.9215158331242; Thu, 19 Aug 2021 01:06:04 -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-541-bqldZXivO4yzCWKyWAeCDw-1; Thu, 19 Aug 2021 04:06:01 -0400 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 7C58318C8C15; Thu, 19 Aug 2021 08:05:56 +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 16E4860938; Thu, 19 Aug 2021 08:05:55 +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 EC817181A0F8; Thu, 19 Aug 2021 08:05:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 17J85pfU018403 for ; Thu, 19 Aug 2021 04:05:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 737C2102044F; Thu, 19 Aug 2021 08:05:51 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6EFB6102044E for ; Thu, 19 Aug 2021 08:05:48 +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-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8A2C480018D for ; Thu, 19 Aug 2021 08:05:48 +0000 (UTC) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-463-g3vMyKNRNuyfZ3yV5FTwxg-1; Thu, 19 Aug 2021 04:05:46 -0400 Received: by mail-ed1-f69.google.com with SMTP id x4-20020a50d9c4000000b003bed5199871so2406046edj.14 for ; Thu, 19 Aug 2021 01:05:46 -0700 (PDT) Received: from cjohnson.localdomain (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id q8sm1271253edv.95.2021.08.19.01.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Aug 2021 01:05:45 -0700 (PDT) Received: from cjohnson.redhat.com (cjohnson.k8r.cz [127.0.0.1]) by cjohnson.localdomain (Postfix) with ESMTP id EE611D83456; Thu, 19 Aug 2021 10:05:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629360363; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=dcxt9OegCjtiHEHyCAAKfR52jJVwR0wJgFl2oV1JaBE=; b=hM6nmIciJKQ72HiWuXjQS6gw9z0XHO77zMnuHCFqE+mVc2LWw75UGYJarWO/fDaOgxpV1b fVNezepYaDFR4+CjLOLIcMfv8r5YkMw/v3UphVM9SrpJbxK7Nx4F3PoV4hho71hh+m+DJc SQs/7DjOznVLTu1vH5IZVHlV4akt4To= X-MC-Unique: bqldZXivO4yzCWKyWAeCDw-1 X-MC-Unique: g3vMyKNRNuyfZ3yV5FTwxg-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:mime-version :content-transfer-encoding; bh=dcxt9OegCjtiHEHyCAAKfR52jJVwR0wJgFl2oV1JaBE=; b=duI6v41s9GyN+UkBaS1vHnU9h/TVtAqwbkagtj+63Mm5y4qmer1T2jEIxO2d9QEYSa NASFcmKGqnX8a1zz2iurI1lF020RavQMpfpDMZEJ3GLAtV5fhSO/eEsza1Y7AVZeRXci K22hJgOF9StLyGeXIKw4HCy6rUMKYDb7yefTuqkT+gZYm2yffWGe+bf4JsPpFGtf5+Or xHpwdphl9QbWuHGzPp6FLqI8ymjiA/OWV8jdz+B/HT5PuuGjreH6tmnREpM00TQTPBqs x19RvhUaXecPcXzQOd0DOe0/QjDA8KSwREZMN/rlk/XVB+HuoVViOEjx0RqYpmyNenHd CEwA== X-Gm-Message-State: AOAM533AgBqZaADgchMzGXUYdHqs8zVD3gYphw1ob2B1vctrUJ5nnXvD Ee8RdT9iEbnqmMwHF6DpLnhnTzrsijNDUglk4YrHHUu8f04lneTcXou2JzhwoptSUWhm+zgfXXC a5UUie6wyibxP0NvWtxIfbSiI9e2OJawaa8fd9j3pZ+WxOx0OexLmCccRRuVytmYwIB7WmJg= X-Received: by 2002:a17:907:9604:: with SMTP id gb4mr14545014ejc.142.1629360345799; Thu, 19 Aug 2021 01:05:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyby7LXyCM5oW02XkJPOrP584V7kdZ8tVN3KXWmoaKvPTmTieICU0tPMd4rrkjur/q5wN2pCg== X-Received: by 2002:a17:907:9604:: with SMTP id gb4mr14544998ejc.142.1629360345596; Thu, 19 Aug 2021 01:05:45 -0700 (PDT) From: Martin Kletzander To: libvir-list@redhat.com Subject: [PATCH] tests: Add missing test cases to vmx2xmltest Date: Thu, 19 Aug 2021 10:02:44 +0200 Message-Id: <59e3d93dd41b947152d2095e00ceffe290013eba.1629360162.git.mkletzan@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: libvir-list@redhat.com Cc: mprivozn@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.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 X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1629360366768100001 Content-Type: text/plain; charset="utf-8" Commit 42b2f35d36a9e was meant to test all four combinations of serial-pipe-{server,client}-{app,vm} files, but did only add the files and = by mistake duplicated the tests. Those were later removed as duplicates, so a= dd them back in. Signed-off-by: Martin Kletzander Reviewed-by: J=C3=A1n Tomko --- This is based on top of this series: https://listman.redhat.com/archives/libvir-list/2021-August/msg00533.html For completeness sake (and CI testing) the branch is also available here: https://gitlab.com/nertpinx/libvirt/-/tree/vmx tests/vmx2xmldata/serial-pipe-client-vm.xml | 1 + tests/vmx2xmldata/serial-pipe-server-app.xml | 1 + tests/vmx2xmltest.c | 2 ++ 3 files changed, 4 insertions(+) create mode 120000 tests/vmx2xmldata/serial-pipe-client-vm.xml create mode 120000 tests/vmx2xmldata/serial-pipe-server-app.xml diff --git a/tests/vmx2xmldata/serial-pipe-client-vm.xml b/tests/vmx2xmldat= a/serial-pipe-client-vm.xml new file mode 120000 index 000000000000..44e3e1ee6e77 --- /dev/null +++ b/tests/vmx2xmldata/serial-pipe-client-vm.xml @@ -0,0 +1 @@ +serial-pipe.xml \ No newline at end of file diff --git a/tests/vmx2xmldata/serial-pipe-server-app.xml b/tests/vmx2xmlda= ta/serial-pipe-server-app.xml new file mode 120000 index 000000000000..44e3e1ee6e77 --- /dev/null +++ b/tests/vmx2xmldata/serial-pipe-server-app.xml @@ -0,0 +1 @@ +serial-pipe.xml \ No newline at end of file diff --git a/tests/vmx2xmltest.c b/tests/vmx2xmltest.c index c97c4c045e95..33bf24371743 100644 --- a/tests/vmx2xmltest.c +++ b/tests/vmx2xmltest.c @@ -271,6 +271,8 @@ mymain(void) DO_TEST("serial-file"); DO_TEST("serial-device"); DO_TEST("serial-pipe-client-app"); + DO_TEST("serial-pipe-client-vm"); + DO_TEST("serial-pipe-server-app"); DO_TEST("serial-pipe-server-vm"); DO_TEST("serial-network-server"); DO_TEST("serial-network-client"); --=20 2.32.0