mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Skip input framework entries with missing but non-optional fields
The framework so far populated data structures with missing fields even when those fields are defined without the &optional attribute. When using the attribute, such entries continue to get populated. Update tests to reflect focus on unset fields.
This commit is contained in:
parent
ef08605877
commit
937bdccab5
9 changed files with 122 additions and 59 deletions
|
@ -1,17 +1,21 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
============PREDICATE============
|
||||
Input::EVENT_NEW
|
||||
[i=1]
|
||||
[s=<uninitialized>, ss=TEST]
|
||||
============PREDICATE============
|
||||
Input::EVENT_NEW
|
||||
[i=2]
|
||||
[s=<uninitialized>, ss=<uninitialized>]
|
||||
============PREDICATE============
|
||||
Input::EVENT_CHANGED
|
||||
[i=1]
|
||||
[i=3]
|
||||
[s=TEST, ss=<uninitialized>]
|
||||
============PREDICATE============
|
||||
Input::EVENT_CHANGED
|
||||
[i=2]
|
||||
Input::EVENT_NEW
|
||||
[i=4]
|
||||
[s=TEST, ss=TEST]
|
||||
============PREDICATE============
|
||||
Input::EVENT_NEW
|
||||
[i=1]
|
||||
[s=TEST2, ss=<uninitialized>]
|
||||
============PREDICATE============
|
||||
Input::EVENT_CHANGED
|
||||
[i=4]
|
||||
[s=TEST2, ss=TEST2]
|
||||
============PREDICATE============
|
||||
Input::EVENT_REMOVED
|
||||
[i=3]
|
||||
[s=TEST, ss=<uninitialized>]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue