test: parse_volname
Test to reduce the potential for accidental breakage on regex changes. And to make sure that all vtype_subdirs are parsed. Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
This commit is contained in:
committed by
Fabian Grünbichler
parent
92ae59df9e
commit
c48801b52a
@ -457,6 +457,10 @@ my $vtype_subdirs = {
|
||||
snippets => 'snippets',
|
||||
};
|
||||
|
||||
sub get_vtype_subdirs {
|
||||
return $vtype_subdirs;
|
||||
}
|
||||
|
||||
sub get_subdir {
|
||||
my ($class, $scfg, $vtype) = @_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user