[pve-devel] [PATCH storage 09/11] zfstest: exit with -1 in case of failures

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed May 17 11:42:36 CEST 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 test/run_test_zfspoolplugin.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/run_test_zfspoolplugin.pl b/test/run_test_zfspoolplugin.pl
index b70aad8..bda8348 100755
--- a/test/run_test_zfspoolplugin.pl
+++ b/test/run_test_zfspoolplugin.pl
@@ -2701,3 +2701,5 @@ $time = time - $time;
 print "Stop tests for ZFSPoolPlugin\n";
 print "$count tests failed\n";
 print "Time: ${time}s\n";
+
+exit -1 if $count > 0;
-- 
2.1.4





More information about the pve-devel mailing list