From a52a1ef526e289d54a5bf44c7467dd4ee49aecab Mon Sep 17 00:00:00 2001 From: Filip Schauer Date: Tue, 18 Nov 2025 12:48:54 +0100 Subject: [PATCH] test: add missing test case for .tar container template Signed-off-by: Filip Schauer Link: https://lore.proxmox.com/20251118114900.62955-1-f.schauer@proxmox.com --- src/test/parse_volname_test.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/test/parse_volname_test.pm b/src/test/parse_volname_test.pm index e2409d6..5c9478a 100644 --- a/src/test/parse_volname_test.pm +++ b/src/test/parse_volname_test.pm @@ -48,6 +48,14 @@ my $tests = [ # # container templates # + { + description => 'Container template tar', + volname => 'vztmpl/debian-10.0-standard_10.0-1_amd64.tar', + expected => [ + 'vztmpl', 'debian-10.0-standard_10.0-1_amd64.tar', undef, undef, undef, undef, + 'raw', + ], + }, { description => 'Container template tar.gz', volname => 'vztmpl/debian-10.0-standard_10.0-1_amd64.tar.gz',