mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Changing some external testing scripts.
- The absolute path canonifier was overzealously canonifying relevant log fields, so it's no longer generally applied to diffing all baselines. I don't think there's any logs that require local filesystem path names that aren't already tested by a unit test, but if any show up in the future, they can be canonified on a case-by-case basis. - Removed some logs from being diff'd in the diff-all script because they're either already covered by a unit test (load_scripts.log) or because of difficulty/maintainenance tradeoff (prof.log). Baselines for the external bro-testing repo still need updating.
This commit is contained in:
parent
870bdf796d
commit
357341c887
2 changed files with 8 additions and 7 deletions
14
testing/external/scripts/diff-all
vendored
14
testing/external/scripts/diff-all
vendored
|
@ -15,12 +15,14 @@ fi
|
||||||
rc=0;
|
rc=0;
|
||||||
|
|
||||||
for i in $@; do
|
for i in $@; do
|
||||||
if ! btest-diff $i; then
|
if [[ "$i" != "loaded_scripts.log" && "$i" != "prof.log" ]]; then
|
||||||
echo "" >>$diag
|
if ! btest-diff $i; then
|
||||||
echo "#### btest-diff $i" >>$diag
|
echo "" >>$diag
|
||||||
echo "" >>$diag
|
echo "#### btest-diff $i" >>$diag
|
||||||
cat $diag.tmp >>$diag
|
echo "" >>$diag
|
||||||
rc=1
|
cat $diag.tmp >>$diag
|
||||||
|
rc=1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,3 @@
|
||||||
`dirname $0`/diff-remove-timestamps \
|
`dirname $0`/diff-remove-timestamps \
|
||||||
| `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-abspath
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue