From e9ab841497426c4172c937d69e6de8b9011b20e0 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Fri, 1 Sep 2006 16:27:24 -0400 Subject: 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 --- tests/diff-out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/diff-out') diff --git a/tests/diff-out b/tests/diff-out index 5ebe97dd7..1308eccfb 100755 --- a/tests/diff-out +++ b/tests/diff-out @@ -398,8 +398,8 @@ if ($added_stats) } cleanup(); -# Exit code is 0 if no stats error, 1 otherwise -$status = ($max_err_mag == 0.0) ? 0 : 1; +# Exit code is 0 if some stats found & no stats error, 1 otherwise +$status = ($#key_stats >= 0 && $max_err_mag == 0.0) ? 0 : 1; exit $status; sub cleanup -- cgit v1.2.3