Signed-off-by: Fabian Grünbichler <f.gruenbich...@proxmox.com>
---
 src/test/run_snapshot_tests.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/run_snapshot_tests.pl b/src/test/run_snapshot_tests.pl
index 6def87f..38c74f9 100755
--- a/src/test/run_snapshot_tests.pl
+++ b/src/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


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to