detection into separate functions so they are reusable and easier modifiable. This patch also adds the test for archive_info. Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
13 lines
234 B
Perl
Executable File
13 lines
234 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");
|
|
|
|
exit -1 if !$res || $res->{failed} || $res->{parse_errors};
|
|
|