[pve-devel] applied: [PATCH qemu-server 1/4] tests: exit with -1 in case of failures
Wolfgang Bumiller
w.bumiller at proxmox.com
Wed May 17 14:02:27 CEST 2017
applied to master & stable-4 (and rebased patch 4 for stable-4)
On Wed, May 17, 2017 at 12:40:55PM +0200, Fabian Grünbichler wrote:
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
> test/run_snapshot_tests.pl | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/test/run_snapshot_tests.pl b/test/run_snapshot_tests.pl
> index 6def87f..38c74f9 100755
> --- a/test/run_snapshot_tests.pl
> +++ b/test/run_snapshot_tests.pl
> @@ -6,5 +6,6 @@ use warnings;
> use TAP::Harness;
>
> my $harness = TAP::Harness->new( { "verbosity" => -2 });
> -$harness->runtests( "snapshot-test.pm");
> +my $res = $harness->runtests( "snapshot-test.pm");
> system( "rm -rf snapshot-working/");
> +exit -1 if $res->{failed};
> --
> 2.1.4
More information about the pve-devel
mailing list