test: list_volumes

Test to reduce the potential for accidental breakage on regex changes.

Co-Authored-by: Dominic Jaeger <d.jaeger@proxmox.com>
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
This commit is contained in:
Alwin Antreich
2020-04-28 15:58:17 +02:00
committed by Fabian Grünbichler
parent c48801b52a
commit 6a27e8171e
2 changed files with 524 additions and 1 deletions

View File

@ -6,7 +6,11 @@ use warnings;
use TAP::Harness;
my $harness = TAP::Harness->new( { verbosity => -1 });
my $res = $harness->runtests("archive_info_test.pm", "parse_volname_test.pm");
my $res = $harness->runtests(
"archive_info_test.pm",
"parse_volname_test.pm",
"list_volumes_test.pm",
);
exit -1 if !$res || $res->{failed} || $res->{parse_errors};