zfstest: exit with -1 in case of failures

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2017-05-17 11:42:36 +02:00
committed by Wolfgang Bumiller
parent 722eb1fe8a
commit e93e1bed73

View File

@ -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;