From 8d0ef7a8eda527a881aa00599d8e2707a1002906 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 22 May 2018 01:26:49 -0400 Subject: Fix file coverage stats for check/status commands --- sbosrcarch | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sbosrcarch') diff --git a/sbosrcarch b/sbosrcarch index a73908c..e5a68f0 100755 --- a/sbosrcarch +++ b/sbosrcarch @@ -6,10 +6,6 @@ our $DEBUG_HTTP = 0; # TODO create_mode stats are wrong -# FIXME 20180522 bkw: check and status commands include old -# versions that haven't been purged in the total, so we get 112% -# coverage and -1034 missing files! - # FIXME 20151016 bkw: behold: # $ grep ^D libraries/p4api/*.info # DOWNLOAD="ftp://ftp.perforce.com/perforce/r10.1/bin.linux26x86/p4api.tgz" @@ -1547,6 +1543,7 @@ sub check_byname_wanted { $infofilecount{"$category/$prgnam"}--; } else { print "$shortname extraneous: not mentioned in $info (sbosrcarch purge)\n"; + $filecount--; } if(blacklisted($category, $prgnam)) { -- cgit v1.2.3