mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
cov-diff: better handle the case where a file stops having coverage
This commit is contained in:
parent
f4c76661d1
commit
a036c0187a
@ -16,6 +16,5 @@ for B in "$DIRB"/*; do
|
||||
fi
|
||||
perl -pe 's/^\s*\!*\d+(\*?):/ 1$1:/; s/^([^:]+:)[\d\s]+:/$1/; s/^ *-:(Runs|Programs):.*//;' "$B" > "$B.tmp"
|
||||
diff -u "$A.tmp" "$B.tmp" |perl -pe 's/^((?:\+\+\+|---)(?:.*tmp))\s+.*/$1/;'
|
||||
rm "$A.tmp" "$B.tmp"
|
||||
rm -f "$A.tmp" "$B.tmp"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user