zeek/testing/scripts/diff-canonifier-external
Robin Sommer cb2cb117d0 Excluding log fields of name mime_type for comparision.
This is because libmagic can return different results depending on
installation.

Note, this still doesn't fix all problems: smtp-entities sets md5
depending on the mime-type returned by libmagic ...
2011-09-09 11:41:03 -07:00

8 lines
259 B
Bash
Executable file

#! /usr/bin/env bash
#
# Default canonifier used with the trace-based tests in testing/external/*.
`dirname $0`/diff-remove-timestamps \
| `dirname $0`/diff-remove-uids \
| `dirname $0`/diff-remove-mime-types \
| `dirname $0`/diff-remove-abspath