[pve-devel] [PATCH storage] test: add missing test case for .tar container template
Filip Schauer
f.schauer at proxmox.com
Tue Nov 18 12:48:54 CET 2025
Signed-off-by: Filip Schauer <f.schauer at 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',
--
2.47.3
More information about the pve-devel
mailing list