mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Fixing unit tests.
This commit is contained in:
parent
91ed9ffa8f
commit
71dc6b6de3
8 changed files with 102 additions and 106 deletions
|
@ -4,7 +4,7 @@
|
|||
# in a way that correlates the final response with the request.
|
||||
#
|
||||
# @TEST-EXEC: bro -r $TRACES/http-100-continue.trace %INPUT
|
||||
# @TEST-EXEC: grep -q unmatched_HTTP_reply weird.log && exit 0 || exit 1
|
||||
# @TEST-EXEC: grep -q unmatched_HTTP_reply weird.log && exit 1 || exit 0
|
||||
# @TEST-EXEC: btest-diff http.log
|
||||
|
||||
# The base analysis scripts are loaded by default.
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# This tests for what looks like a problem in the HTTP parser:
|
||||
# it gets confused whether it's in a header or not; it should
|
||||
# not report that weird.
|
||||
# it gets confused whether it's in a header or not; it shouldn't report
|
||||
# the http_no_crlf_in_header_list wierd.
|
||||
#
|
||||
# @TEST-EXEC: bro -r $TRACES/http-byteranges.trace %INPUT
|
||||
# @TEST-EXEC: grep -q http_no_crlf_in_header_list weird.log && exit 0 || exit 1
|
||||
# @TEST-EXEC: grep -q http_no_crlf_in_header_list weird.log && exit 1 || exit 0
|
||||
|
||||
# The base analysis scripts are loaded by default.
|
||||
#@load base/protocols/http
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue