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