]> git.proxmox.com Git - pve-storage.git/commitdiff
zfstest: exit with -1 in case of failures
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 17 May 2017 09:42:36 +0000 (11:42 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 6 Jun 2017 14:15:42 +0000 (16:15 +0200)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
test/run_test_zfspoolplugin.pl

index b70aad8971f63eb2696e6a440644ea9d887dc0d4..bda834887684e70a2f0bd2c99f79307fb7b2320a 100755 (executable)
@@ -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;