Adding notice_policy.log canonification for external tests.

These was still producing false positives.
This commit is contained in:
Robin Sommer 2012-04-04 17:46:13 -07:00
parent 077089a047
commit fb0614b5c6
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#! /usr/bin/awk -f
#
# A diff canonifier that removes the priorities in notice_policy.log.
/^#/ && $2 == "notice_policy" { filter = 1; }
filter == 1 && /^[^#]/ { sub("^[0-9]*", "X"); }
{ print; }

View file

@ -6,4 +6,6 @@
| `dirname $0`/diff-remove-uids \ | `dirname $0`/diff-remove-uids \
| `dirname $0`/diff-remove-mime-types \ | `dirname $0`/diff-remove-mime-types \
| `dirname $0`/diff-remove-x509-names \ | `dirname $0`/diff-remove-x509-names \
| `dirname $0`/diff-canon-notice-policy \
| `dirname $0`/diff-sort | `dirname $0`/diff-sort