Improve input framework re-read logic

Changed from checking for "has newer modification time" to "has
different modification time or inode number".
This commit is contained in:
Jon Siwek 2018-08-24 12:46:31 -05:00
parent 5c9813eadb
commit f41f392743
12 changed files with 38 additions and 19 deletions

View file

@ -1,7 +1,7 @@
# @TEST-EXEC: cp input1.log input.log
# @TEST-EXEC: mv input1.log input.log
# @TEST-EXEC: btest-bg-run bro bro -b %INPUT
# @TEST-EXEC: $SCRIPTS/wait-for-file bro/got1 5 || (btest-bg-wait -k 1 && false)
# @TEST-EXEC: cp input2.log input.log
# @TEST-EXEC: mv input2.log input.log
# @TEST-EXEC: btest-bg-wait 10
# @TEST-EXEC: btest-diff out