zfstest: exit with -1 in case of failures
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
committed by
Wolfgang Bumiller
parent
722eb1fe8a
commit
e93e1bed73
@ -2701,3 +2701,5 @@ $time = time - $time;
|
|||||||
print "Stop tests for ZFSPoolPlugin\n";
|
print "Stop tests for ZFSPoolPlugin\n";
|
||||||
print "$count tests failed\n";
|
print "$count tests failed\n";
|
||||||
print "Time: ${time}s\n";
|
print "Time: ${time}s\n";
|
||||||
|
|
||||||
|
exit -1 if $count > 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user