5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2024-12-23 17:34:34 +03:00
pve-storage/test/run_plugin_tests.pl
Alwin Antreich c48801b52a 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>
2020-04-30 18:37:19 +02:00

13 lines
259 B
Perl
Executable File

#!/usr/bin/perl
use strict;
use warnings;
use TAP::Harness;
my $harness = TAP::Harness->new( { verbosity => -1 });
my $res = $harness->runtests("archive_info_test.pm", "parse_volname_test.pm");
exit -1 if !$res || $res->{failed} || $res->{parse_errors};