mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2024-12-23 17:34:34 +03:00
b12883ded1
if Diskmanage.pm has a syntax error, this will now catch it during build Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
13 lines
232 B
Perl
Executable File
13 lines
232 B
Perl
Executable File
#!/usr/bin/perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use TAP::Harness;
|
|
|
|
my $harness = TAP::Harness->new( { verbosity => -2 });
|
|
my $res = $harness->runtests( "disklist_test.pm" );
|
|
|
|
exit -1 if !$res || $res->{failed} || $res->{parse_errors};
|
|
|