pve-storage/test/run_disk_tests.pl
Fabian Grünbichler d1aa38aec2 disktest: exit with -1 in case of failures
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-06-06 16:15:42 +02:00

13 lines
199 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->{failed};