From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id A7DEF1FF0B0 for ; Tue, 27 Oct 2026 11:12:30 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id A3102213DD; Tue, 27 Oct 2026 11:12:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=genua.de; s=202307; t=1793095929; bh=OCaQBz6ia6dpBFY5sP7fA2bNgt2g8M8tmY3D+He5f2o=; h=Date:From:To:Subject:References:In-Reply-To:From; b=IeIWXUmkZ7glxOhgzZ+V8hQcC0lSnS+1td0UDRvXNAr+ikXdAwqq8DlmYLcnBKIWx DSIIjA3bnIJ+8CfSXQ/1+NeByKlfjeDw0uMyaKu7v8gjeY5S9uIJ1YsfYO07QdjHFH K7MI13zHQZQGFWXdmiPqTxInlMCmVDq8Ln7ttZ5puCXnJV05CgpfJrwRNMFTjWSECW h6a1wOkKVIiMHl9RFkacxOrcNGZtXwP9FbtSlqsNByRef4Oafw8/NtJC4717Q7ho/h lyUFOtwuZmPxkKBeh56Z/N/Lq82+0mZHUFFC6vs+3uGPbIjIPZi8S7mhlekca0FKhS aaFWp+GxwuX3A== Date: Tue, 27 Oct 2026 11:12:08 +0100 From: Christian Ludwig To: Subject: [PATCH pve-storage v3 02/19] test: get_subdir: cover the efi-firmware content type Message-ID: <66f21085a5d33e380b48bcd140ee8d81d7513c4d.1793029144.git@genua.de> References: MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [192.168.217.185] X-ClientProxiedBy: kch1-mta08.win.genua.de (10.208.16.108) To kch1-mta07.win.genua.de (10.208.16.107) Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-SPAM-LEVEL: Spam detection results: 0 AWL 0.076 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record UNPARSEABLE_RELAY 0.001 Informational: message has unparseable relay lines Message-ID-Hash: KBKHNEJX2UD3BPEL7GVAN7OIRGTA2VQE X-Message-ID-Hash: KBKHNEJX2UD3BPEL7GVAN7OIRGTA2VQE X-MailFrom: christian_ludwig@genua.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Check that the vtype maps to the efi-firmware/ subdirectory. Reviewed-by: Fiona Ebner Signed-off-by: Christian Ludwig --- src/test/get_subdir_test.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/get_subdir_test.pm b/src/test/get_subdir_test.pm index 5fb5445..5be6de8 100644 --- a/src/test/get_subdir_test.pm +++ b/src/test/get_subdir_test.pm @@ -19,6 +19,8 @@ my $tests = [ # failed matches [$scfg_with_path, 'none', "unknown vtype 'none'\n"], [{}, 'iso', "storage definition has no path\n"], + # efi-firmware vtype returns /efi-firmware + [$scfg_with_path, 'efi-firmware', "$scfg_with_path->{path}/efi-firmware"], ]; # creates additional positive tests -- 2.34.1