]> git.proxmox.com Git - pve-storage.git/blame - test/run_disk_tests.pl
tests: improve error handling of run_disk_tests
[pve-storage.git] / test / run_disk_tests.pl
CommitLineData
5774fe62
DC
1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
6use TAP::Harness;
7
8my $harness = TAP::Harness->new( { verbosity => -2 });
d1aa38ae
FG
9my $res = $harness->runtests( "disklist_test.pm" );
10
b12883de 11exit -1 if !$res || $res->{failed} || $res->{parse_errors};
5774fe62 12