Fix for shutdown bug in http scripts.

- The bug was introduced with the recent 1xx update.

- I updated some tests that seemed be written wrong.
This commit is contained in:
Seth Hall 2011-09-29 21:25:00 -04:00
parent 36dbaa5b92
commit 012d8cfc5f
3 changed files with 5 additions and 4 deletions

View file

@ -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 1 || exit 0
# @TEST-EXEC: grep -q unmatched_HTTP_reply weird.log && exit 0 || exit 1
# @TEST-EXEC: btest-diff http.log
# The base analysis scripts are loaded by default.

View file

@ -3,7 +3,7 @@
# not report that weird.
#
# @TEST-EXEC: bro -r $TRACES/http-byteranges.trace %INPUT
# @TEST-EXEC: grep -q http_no_crlf_in_header_list weird.log && exit 1 || exit 0
# @TEST-EXEC: grep -q http_no_crlf_in_header_list weird.log && exit 0 || exit 1
# The base analysis scripts are loaded by default.
#@load base/protocols/http