Improve an Intel framework btest

Relying on non-atomic `cp` operation may not cooperate well with the
Input framework file re-reading logic.
This commit is contained in:
Jon Siwek 2020-08-25 14:32:47 -07:00
parent 80a573d2b2
commit 8d3c07b62a
3 changed files with 11 additions and 4 deletions

View file

@ -1,4 +1,11 @@
3.3.0-dev.195 | 2020-08-25 14:32:47 -0700
* Improve an Intel framework btest (Jon Siwek, Corelight)
Relying on non-atomic `cp` operation may not cooperate well with the
Input framework file re-reading logic.
3.3.0-dev.194 | 2020-08-24 19:20:29 -0700
* Mark Continuation.h and PacketDumper.h as deprecated (Tim Wojtulewicz, Corelight)

View file

@ -1 +1 @@
3.3.0-dev.194
3.3.0-dev.195

View file

@ -1,9 +1,9 @@
# @TEST-EXEC: cp intel1.dat intel.dat
# @TEST-EXEC: mv intel1.dat intel.dat
# @TEST-EXEC: btest-bg-run zeekproc zeek -b %INPUT
# @TEST-EXEC: $SCRIPTS/wait-for-file zeekproc/got1 15 || (btest-bg-wait -k 1 && false)
# @TEST-EXEC: cp intel2.dat intel.dat
# @TEST-EXEC: mv intel2.dat intel.dat
# @TEST-EXEC: $SCRIPTS/wait-for-file zeekproc/got2 15 || (btest-bg-wait -k 1 && false)
# @TEST-EXEC: cp intel3.dat intel.dat
# @TEST-EXEC: mv intel3.dat intel.dat
# @TEST-EXEC: btest-bg-wait 30
# @TEST-EXEC: cat zeekproc/intel.log > output
# @TEST-EXEC: cat zeekproc/notice.log >> output