mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
updates for ZAM optimization
This commit is contained in:
parent
1f27edf756
commit
16a16948a1
8 changed files with 143 additions and 39 deletions
2
testing/btest/Baseline.zam/bifs.to_addr/error
Normal file
2
testing/btest/Baseline.zam/bifs.to_addr/error
Normal file
|
@ -0,0 +1,2 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <...>/to_addr.zeek, line 20: failed converting string to IP address (not an IP)
|
10
testing/btest/Baseline.zam/bifs.to_addr/output
Normal file
10
testing/btest/Baseline.zam/bifs.to_addr/output
Normal file
|
@ -0,0 +1,10 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
to_addr(0.0.0.0) = 0.0.0.0 (SUCCESS)
|
||||
to_addr(1.2.3.4) = 1.2.3.4 (SUCCESS)
|
||||
to_addr(01.02.03.04) = 1.2.3.4 (SUCCESS)
|
||||
to_addr(001.002.003.004) = 1.2.3.4 (SUCCESS)
|
||||
to_addr(10.20.30.40) = 10.20.30.40 (SUCCESS)
|
||||
to_addr(100.200.30.40) = 100.200.30.40 (SUCCESS)
|
||||
to_addr(10.0.0.0) = 10.0.0.0 (SUCCESS)
|
||||
to_addr(10.00.00.000) = 10.0.0.0 (SUCCESS)
|
||||
to_addr(not an IP) = :: (SUCCESS)
|
|
@ -0,0 +1,3 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <...>/to_double_from_string.zeek, line 15: bad conversion to double (NotADouble)
|
||||
error in <...>/to_double_from_string.zeek, line 16: bad conversion to double ()
|
|
@ -0,0 +1,6 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
to_double(3.14) = 3.14 (SUCCESS)
|
||||
to_double(-3.14) = -3.14 (SUCCESS)
|
||||
to_double(0) = 0.0 (SUCCESS)
|
||||
to_double(NotADouble) = 0.0 (SUCCESS)
|
||||
to_double() = 0.0 (SUCCESS)
|
Loading…
Add table
Add a link
Reference in a new issue