From e93e1bed73947cbf3b19a0d87575baecc32849ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 17 May 2017 11:42:36 +0200 Subject: [PATCH] zfstest: exit with -1 in case of failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- 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;