mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Add error messages to to_count
/to_int
baselines
This captures error messages produced by `to_count`, but will also baseline future error messages from `to_int` once we introduce them.
This commit is contained in:
parent
d3a6b93fdb
commit
4c4cd5984c
4 changed files with 12 additions and 7 deletions
4
testing/btest/Baseline/bifs.to_count/err
Normal file
4
testing/btest/Baseline/bifs.to_count/err
Normal file
|
@ -0,0 +1,4 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <...>/to_count.zeek, line 8: bad conversion to count (int_to_count(a) and -2)
|
||||
error in <...>/to_count.zeek, line 20: bad conversion to count (to_count() and )
|
||||
error in <...>/to_count.zeek, line 22: bad conversion to count (to_count(not a count) and not a count)
|
1
testing/btest/Baseline/bifs.to_int/err
Normal file
1
testing/btest/Baseline/bifs.to_int/err
Normal file
|
@ -0,0 +1 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
|
@ -1,6 +1,6 @@
|
|||
#
|
||||
# @TEST-EXEC: zeek -b %INPUT >out
|
||||
# @TEST-EXEC: zeek -b %INPUT 1>out 2>err
|
||||
# @TEST-EXEC: btest-diff out
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=${SCRIPTS}/diff-remove-abspath btest-diff err
|
||||
|
||||
event zeek_init()
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#
|
||||
# @TEST-EXEC: zeek -b %INPUT >out
|
||||
# @TEST-EXEC: zeek -b %INPUT 1>out 2>err
|
||||
# @TEST-EXEC: btest-diff out
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=${SCRIPTS}/diff-remove-abspath btest-diff err
|
||||
|
||||
event zeek_init()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue