diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-10-14 09:41:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-10-14 09:41:40 -0400 |
commit | 48af23eb0df733c4f42f80e2e3ad047f298ac517 (patch) | |
tree | c2ed3314c7aa5a89e2826c4d00aeb585d3936c9c /scripts/test/cov-diff | |
parent | 21fe945ebd7183685bf5bbcd80bf6b1b946eb841 (diff) | |
download | tor-48af23eb0df733c4f42f80e2e3ad047f298ac517.tar.gz tor-48af23eb0df733c4f42f80e2e3ad047f298ac517.zip |
Emit fewer spurious lines in cov-diff output.
Diffstat (limited to 'scripts/test/cov-diff')
-rwxr-xr-x | scripts/test/cov-diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test/cov-diff b/scripts/test/cov-diff index 33a54802b6..48dbec9d54 100755 --- a/scripts/test/cov-diff +++ b/scripts/test/cov-diff @@ -9,8 +9,8 @@ DIRB="$2" for A in $DIRA/*; do B=$DIRB/`basename $A` - perl -pe 's/^\s*\d+:/ 1:/; s/^([^:]+:)[\d\s]+:/$1/;' "$A" > "$A.tmp" - perl -pe 's/^\s*\d+:/ 1:/; s/^([^:]+:)[\d\s]+:/$1/;' "$B" > "$B.tmp" + perl -pe 's/^\s*\d+:/ 1:/; s/^([^:]+:)[\d\s]+:/$1/; s/^ *-:(Runs|Programs):.*//;' "$A" > "$A.tmp" + perl -pe 's/^\s*\d+:/ 1:/; s/^([^:]+:)[\d\s]+:/$1/; s/^ *-:(Runs|Programs):.*//;' "$B" > "$B.tmp" diff -u "$A.tmp" "$B.tmp" rm "$A.tmp" "$B.tmp" done |