mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix canonification of timestamps with a decisecond multiple
Unit tests sometimes use current_time(), which occassionally lands on a perfect tenth of a second and end up fooling the old canonification regexp and resulting in output which differs from what's in the test baseline.
This commit is contained in:
parent
d43af755b5
commit
50e4da74cf
3 changed files with 6 additions and 2 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
|||
|
||||
2.6-598 | 2019-07-12 18:20:12 -0700
|
||||
|
||||
* Fix canonification of timestamps with a decisecond multiple (Jon Siwek, Corelight)
|
||||
|
||||
2.6-597 | 2019-07-12 15:01:56 -0700
|
||||
|
||||
* Fix a couple of resource leaks from JSON changes (Tim Wojtulewicz, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.6-597
|
||||
2.6-598
|
||||
|
|
|
@ -9,5 +9,5 @@ else
|
|||
sed="sed -E"
|
||||
fi
|
||||
|
||||
$sed 's/(0\.000000)|([0-9]{9,10}\.[0-9]{2,8})/XXXXXXXXXX.XXXXXX/g' | \
|
||||
$sed 's/(0\.000000)|([0-9]{9,10}\.[0-9]{1,8})/XXXXXXXXXX.XXXXXX/g' | \
|
||||
$sed 's/^ *#(open|close).(19|20)..-..-..-..-..-..$/#\1 XXXX-XX-XX-XX-XX-XX/g'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue