fix race condition in btest output ordering

This commit is contained in:
Vern Paxson 2021-09-05 11:29:08 -07:00
parent 74fbfa3aae
commit acaaa0d36a
5 changed files with 7 additions and 4 deletions

View 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.
runtime error in <...>/vector-coerce-expr2.zeek, line 50: overflow promoting from unsigned to signed arithmetic value

View file

@ -1,5 +1,4 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
runtime error in <...>/vector-coerce-expr2.zeek, line 49: overflow promoting from unsigned to signed arithmetic value
[5.5, 5.2, -3.9, 20.0]
[11, 5, , 107, , , 1046]
[-2, -4, , -7, , -18, -999]

View 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 int and <...>/vector-coerce-expr2.zeek, line 50: overflow promoting from unsigned/double to signed arithmetic value (int and 18446744073709551615)

View file

@ -1,5 +1,4 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
error in int and <...>/vector-coerce-expr2.zeek, line 49: overflow promoting from unsigned/double to signed arithmetic value (int and 18446744073709551615)
[5.5, 5.2, -3.9, 20.0]
[11, 5, , 107, , , 1046]
[-2, -4, , -7, , -18, -999]

View file

@ -1,5 +1,6 @@
# @TEST-EXEC: zeek -b %INPUT >output 2>&1
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
# @TEST-EXEC: zeek -b %INPUT >output 2>error
# @TEST-EXEC: btest-diff output
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff error
event zeek_init()
{