mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2024-12-24 21:34:48 +03:00
disktest: exit with -1 in case of failures
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
e93e1bed73
commit
d1aa38aec2
@ -6,5 +6,7 @@ use warnings;
|
||||
use TAP::Harness;
|
||||
|
||||
my $harness = TAP::Harness->new( { verbosity => -2 });
|
||||
$harness->runtests( "disklist_test.pm" );
|
||||
my $res = $harness->runtests( "disklist_test.pm" );
|
||||
|
||||
exit -1 if $res->{failed};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user