mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
input/Manager: Ignore empty record types
Somewhere record types with zero fields get the optional attribute apparently. The input/sqlite/basic test failed due to complaining that ctx is optional. It isn't optional and when it has zero fields we can just ignore it, too. Also adds a input framework test with an explicit empty record type
This commit is contained in:
parent
8c7d732d4c
commit
a975d65d01
4 changed files with 58 additions and 2 deletions
|
@ -0,0 +1,2 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
received termination signal
|
|
@ -0,0 +1,3 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
Input::EVENT_NEW, [s=string1, e0=[], r0=[e0=[], c0=4242, c1=4711, e1=[], s=r0s-1], e1=[]]
|
||||
Input::EVENT_NEW, [s=string2, e0=[], r0=[e0=[], c0=4343, c1=<uninitialized>, e1=[], s=r0s-2], e1=[]]
|
Loading…
Add table
Add a link
Reference in a new issue