mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Extending external canonifier to remove fractional values from
capture_loss.log.
This commit is contained in:
parent
d8801bb9c4
commit
efd343af8d
2 changed files with 14 additions and 1 deletions
|
@ -2,10 +2,17 @@
|
|||
#
|
||||
# Default canonifier used with the trace-based tests in testing/external/*.
|
||||
|
||||
addl="cat"
|
||||
|
||||
if [ "$1" == "capture_loss.log" ]; then
|
||||
addl="`dirname $0`/diff-remove-fractions"
|
||||
fi
|
||||
|
||||
`dirname $0`/diff-remove-timestamps \
|
||||
| `dirname $0`/diff-remove-uids \
|
||||
| `dirname $0`/diff-remove-file-ids \
|
||||
| `dirname $0`/diff-remove-x509-names \
|
||||
| `dirname $0`/diff-canon-notice-policy \
|
||||
| `dirname $0`/diff-sort
|
||||
| `dirname $0`/diff-sort \
|
||||
| eval $addl
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue