From nobody Tue Dec 16 16:43:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1743166546; cv=none; d=zohomail.com; s=zohoarc; b=a8L0Nv8BCxXf4JWM50pypDxHO//tIc+eH4GJEAk+u3ezEjcoAIGsdld3nBetiZSB9t4G+oSg3rK+35C2/KGb76E9gOu+Pe2rdWa0wIWvXoJFDM6gseaXM0LFdJijtopjg9g3qw/f+jf8PGVBm+3kNbzfpWh36fGgZa/TwujCCuQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1743166546; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id; bh=/pgmRUkRMLItUjvdgxV3YcyEPNDla8Icsjs/aDualMo=; b=cstrM1xm4urv4M4ICV+EX2Ry802AuuytpLiS8Dxye5/cFVJ7/oFSYbQM5RnuVXhm5dJPzPqUrarlw0K4eKaBhmzrIFOk0P2ULPBTz0C2odrhXLPDJ9Bu71nv/kHMMCE7XdkC64MRRptGfF3Gv1WkDez+yshKLnFZMXUGZ42Asic= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1743166546986694.842099104653; Fri, 28 Mar 2025 05:55:46 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 159701276; Fri, 28 Mar 2025 08:55:46 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 8DDFE1373; Fri, 28 Mar 2025 08:53:10 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 92EEF1298; Fri, 28 Mar 2025 08:53:03 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 4BC6D1290 for ; Fri, 28 Mar 2025 08:52:51 -0400 (EDT) Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-509-W6maXIL1NBWTKBbNojXE2Q-1; Fri, 28 Mar 2025 08:52:49 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id E4321196DF01 for ; Fri, 28 Mar 2025 12:52:48 +0000 (UTC) Received: from speedmetal.lan (unknown [10.44.22.8]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id E14C41828AA5; Fri, 28 Mar 2025 12:52:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1743166371; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=Jq570umbxYYyO38nQT1QoXvc6vGUxdJQ62cXRt0Wwg8=; b=iMthlIkW6dV45BQeCH3TOBAq/43im5h+SmdnfR/D+1czrBJV0yDqEaxZuCnxQPTqLoyK4z hhI2Wxk6jPMfBFTw9wNspUM4OgfCG+ng9wGtl50WQRAhsJqcqOntr9F/vNcePXCXwwXyRL Li5wrRlO0l5v5T1wKDYnZBBLBiBbK2s= X-MC-Unique: W6maXIL1NBWTKBbNojXE2Q-1 X-Mimecast-MFC-AGG-ID: W6maXIL1NBWTKBbNojXE2Q_1743166369 To: devel@lists.libvirt.org Subject: [PATCH 7/8] tests: domainbackupxml2xml: Add test case for pull-mode backup with NBD transport='fd' Date: Fri, 28 Mar 2025 13:52:33 +0100 Message-ID: <320dbc6fcb3f345164dfc22cb44d2038fb3bf2c9.1743166287.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: GFXabd7WzH7RBohejdWMrB4jkt6xvRdoLadvlm6VoBc_1743166369 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: A7RAMZAGYLSK6WP55INKIRRWAXKLCDGK X-Message-ID-Hash: A7RAMZAGYLSK6WP55INKIRRWAXKLCDGK X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Peter Krempa X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Krempa via Devel Reply-To: Peter Krempa X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1743166548075019100 Content-Type: text/plain; charset="utf-8" From: Peter Krempa Signed-off-by: Peter Krempa --- .../domainbackupxml2xmlin/backup-pull-fd.xml | 22 ++++++++++++++++++ .../domainbackupxml2xmlout/backup-pull-fd.xml | 23 +++++++++++++++++++ tests/genericxml2xmltest.c | 1 + 3 files changed, 46 insertions(+) create mode 100644 tests/domainbackupxml2xmlin/backup-pull-fd.xml create mode 100644 tests/domainbackupxml2xmlout/backup-pull-fd.xml diff --git a/tests/domainbackupxml2xmlin/backup-pull-fd.xml b/tests/domainb= ackupxml2xmlin/backup-pull-fd.xml new file mode 100644 index 0000000000..02ae20d665 --- /dev/null +++ b/tests/domainbackupxml2xmlin/backup-pull-fd.xml @@ -0,0 +1,22 @@ + + 1525889631 + + + + + + + + + + + + + + + + + + + + diff --git a/tests/domainbackupxml2xmlout/backup-pull-fd.xml b/tests/domain= backupxml2xmlout/backup-pull-fd.xml new file mode 100644 index 0000000000..16b9b0be50 --- /dev/null +++ b/tests/domainbackupxml2xmlout/backup-pull-fd.xml @@ -0,0 +1,23 @@ + + 1525889631 + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/genericxml2xmltest.c b/tests/genericxml2xmltest.c index b46b9515c3..dd26a8589d 100644 --- a/tests/genericxml2xmltest.c +++ b/tests/genericxml2xmltest.c @@ -245,6 +245,7 @@ mymain(void) DO_TEST_BACKUP("empty"); DO_TEST_BACKUP("backup-pull"); DO_TEST_BACKUP("backup-pull-unix"); + DO_TEST_BACKUP("backup-pull-fd"); DO_TEST_BACKUP("backup-pull-seclabel"); DO_TEST_BACKUP("backup-pull-encrypted"); DO_TEST_BACKUP("backup-push"); --=20 2.49.0