diff-out:

Don't consider it a success if no stats at all were found.

tests/diff-out:
    Don't consider it a success if no stats at all were found.

--HG--
extra : convert_revision : 733f10abdf17d1f7eeca912f84f3df37e56fe510
This commit is contained in:
Steve Reinhardt 2006-09-01 16:27:24 -04:00
parent 30c93db065
commit e9ab841497

View file

@ -398,8 +398,8 @@ if ($added_stats)
} }
cleanup(); cleanup();
# Exit code is 0 if no stats error, 1 otherwise # Exit code is 0 if some stats found & no stats error, 1 otherwise
$status = ($max_err_mag == 0.0) ? 0 : 1; $status = ($#key_stats >= 0 && $max_err_mag == 0.0) ? 0 : 1;
exit $status; exit $status;
sub cleanup sub cleanup