5
0
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:
Fabian Grünbichler 2017-05-17 11:42:37 +02:00 committed by Wolfgang Bumiller
parent e93e1bed73
commit d1aa38aec2

View File

@ -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};