mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/no-binary-in-baselines'
* origin/topic/awelzel/no-binary-in-baselines: btest/decode_base_errors: Avoid binary output in baseline
This commit is contained in:
commit
39f0b78043
4 changed files with 8 additions and 11 deletions
4
CHANGES
4
CHANGES
|
@ -1,3 +1,7 @@
|
|||
5.2.0-dev.632 | 2023-02-02 20:20:27 +0100
|
||||
|
||||
* btest/decode_base_errors: Avoid binary output in baseline (Arne Welzel, Corelight)
|
||||
|
||||
5.2.0-dev.630 | 2023-02-02 18:35:21 +0100
|
||||
|
||||
* cirrus: No container images builds or cluster testing on branches (Arne Welzel, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
5.2.0-dev.630
|
||||
5.2.0-dev.632
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error: character 94 ignored by Base64 decoding
|
||||
error: error in decoding string ^#@!@##$!===
|
||||
error: character 237 ignored by Base64 decoding
|
||||
error: error in decoding string íîï===
|
||||
PASS
|
||||
PASS
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
# @TEST-EXEC: zeek -b %INPUT >out 2>&1
|
||||
# @TEST-EXEC: btest-diff out
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER='grep character.*ignored' btest-diff out
|
||||
|
||||
event zeek_init()
|
||||
{
|
||||
local r1 = decode_base64("^#@!@##$!===");
|
||||
print |r1| > 0 ? "FAIL" : "PASS";
|
||||
|
||||
local r2 = decode_base64("\xed\xee\xef===");
|
||||
print |r2| > 0 ? "FAIL" : "PASS";
|
||||
decode_base64("^#@!@##$!===");
|
||||
decode_base64("\xed\xee\xef===");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue