diff options
author | B. Watson <yalhcru@gmail.com> | 2018-05-22 01:26:49 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2018-05-22 01:26:49 -0400 |
commit | 8d0ef7a8eda527a881aa00599d8e2707a1002906 (patch) | |
tree | 26d8d1163f9219ea50fb03ba65f7a04bde7f3a8c /sbosrcarch | |
parent | f864a6c422227921ac5b6e57a0ebf58647364d41 (diff) | |
download | sbostuff-8d0ef7a8eda527a881aa00599d8e2707a1002906.tar.gz |
Fix file coverage stats for check/status commands
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-x | sbosrcarch | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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)) { |