diff --git a/test/run_test_zfspoolplugin.pl b/test/run_test_zfspoolplugin.pl index 9c5e841..2f63f1b 100755 --- a/test/run_test_zfspoolplugin.pl +++ b/test/run_test_zfspoolplugin.pl @@ -2714,7 +2714,10 @@ for (my $i = $start_test; $i <= $end_test; $i++) { eval { $tests->{$i}(); }; - warn $@ if $@; + if (my $err = $@) { + warn $err; + $count++; + } cleanup_zfs(); }