From nobody Mon Dec 15 03:19:51 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1503988827051870.7723991002721; Mon, 28 Aug 2017 23:40:27 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 13490C049D7F; Tue, 29 Aug 2017 06:40:25 +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 CFED26FDBB; Tue, 29 Aug 2017 06:40: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 9712E1806108; Tue, 29 Aug 2017 06:40:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v7T6eGAd007018 for ; Tue, 29 Aug 2017 02:40:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id B2F4D6BC02; Tue, 29 Aug 2017 06:40:16 +0000 (UTC) Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9BABA6A77F; Tue, 29 Aug 2017 06:40:16 +0000 (UTC) Received: from mail-io0-f194.google.com (mail-io0-f194.google.com [209.85.223.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 934995F73B; Tue, 29 Aug 2017 06:40:15 +0000 (UTC) Received: by mail-io0-f194.google.com with SMTP id j99so2583974ioo.4; Mon, 28 Aug 2017 23:40:15 -0700 (PDT) Received: from localhost.localdomain.localdomain ([172.58.73.57]) by smtp.gmail.com with ESMTPSA id u196sm479335itc.12.2017.08.28.23.40.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Aug 2017 23:40:14 -0700 (PDT) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 13490C049D7F Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 13490C049D7F Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HB3yi2BZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 934995F73B Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=ashmit602@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 934995F73B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1zztIKYmNjlBaKvHvMJG+nqhqffDurVadb1pQauRuDM=; b=HB3yi2BZRvdjx2+FA96EdZi7LM6o1rlUhWK9ZlbA7nOaadXZaN8lXEjGGgo6YlD/BX rFd45admOSpRCh3OuNoBFl5lhFUv60BkjQMQEaWOvfIHK7GcvsxoHZPvFFx7ZUXt3p+Z bs0veSs07drC49+BYHjb4IBZci2vykFIiJrlHXcqXyUmt4e9ktl4K0jt8LNq0WyDD5hc 0MOHPxIzE0e8i8t6Bylg35k9xEGpdu5D5zLynSrRtYX6I8efLPmaUu/gWT14iEp3dUCm hKwVA0e6SJ2W2OynC1Fafu4o2ScPpvjhO91NdUMNDHauwm+NiOS9HeNuQKGZxlf0IERY 2EbQ== 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; bh=1zztIKYmNjlBaKvHvMJG+nqhqffDurVadb1pQauRuDM=; b=Nve/OAgK8ip0TS89PpJDRWPKWmqlIUtHcR3JjCTP/Bixiz97w7JoFWB6iQYuKnwRJ9 ZtdRLidsl6i/1as0z/QN4R/aryAK2xfL5I3zcdA4TK72qqcivFooUifIbntsfBYMFR+0 1EYxMiMcRhl6PbLgNIGIR7PO5iEZGDVzQL4DGes0zYux8rawrBpUFxCxG6Voeeh7WRjO ThBM4GhDXj08nrFNfxOeVDtxd6U82gWI5EC+hByLr28kvIki3Sq1pQAm4UHnpPeVrDdv 5vMEQhTBai4WdxuRMqwxXiCqrzZ6/Yl0FwnybuWLB4TM2duEgSN7FelpLG2Cn1wQ3yxH KK8A== X-Gm-Message-State: AHYfb5jm1jk5tHzEVvzyfE60JQKlcwV20NhBn0rci8yz7H/tuRxqV/yE sQ72qPdbbrz4Eth/XaI= X-Received: by 10.107.168.205 with SMTP id e74mr3117462ioj.141.1503988814684; Mon, 28 Aug 2017 23:40:14 -0700 (PDT) From: Ashish Mittal X-Google-Original-From: Ashish Mittal To: libvir-list@redhat.com, jferlan@redhat.com, pbonzini@redhat.com, berrange@redhat.com, jcody@redhat.com, ashish.mittal@veritas.com, stefanha@gmail.com, Ketan.Nilangekar@veritas.com, Nitin.Jerath@veritas.com, venkatesha.mg@veritas.com, pkrempa@redhat.com, areis@redhat.com, pchavva@redhat.com, ashmit602@gmail.com, Suraj.Singh@veritas.com Date: Mon, 28 Aug 2017 23:39:31 -0700 Message-Id: <1503988773-118859-8-git-send-email-Ashish.Mittal@veritas.com> In-Reply-To: <1503988773-118859-1-git-send-email-Ashish.Mittal@veritas.com> References: <1503988773-118859-1-git-send-email-Ashish.Mittal@veritas.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 29 Aug 2017 06:40:15 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 29 Aug 2017 06:40:15 +0000 (UTC) for IP:'209.85.223.194' DOMAIN:'mail-io0-f194.google.com' HELO:'mail-io0-f194.google.com' FROM:'ashmit602@gmail.com' RCPT:'' X-RedHat-Spam-Score: -2.66 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS) 209.85.223.194 mail-io0-f194.google.com 209.85.223.194 mail-io0-f194.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: Ashish Mittal Subject: [libvirt] [PATCH v5 7/9] Add a test case to verify TLS arguments are parsed correctly for a VxHS disk 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 29 Aug 2017 06:40:25 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Test case verifies that XML is generated correctly for a VxHS disk having TLS enabled. Signed-off-by: Ashish Mittal --- tests/virstoragetest.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c index f8444e1..92328ea 100644 --- a/tests/virstoragetest.c +++ b/tests/virstoragetest.c @@ -1595,6 +1595,17 @@ mymain(void) "\n" " \n" "\n"); + TEST_BACKING_PARSE("json:{\"file\":{\"driver\":\"vxhs\"," + "\"vdisk-id\":\"c6718f6b-0401-441d-= a8c3-1f0064d75ee0\"," + "\"server\": { \"host\":\"example.c= om\"," + "\"port\":\"1234\"" + "}," + "\"tls\":\"yes\"" + "}" + "}", + "\n" + " \n" + "\n"); #endif /* WITH_YAJL */ =20 cleanup: --=20 2.5.5 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list