mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00

* origin/topic/robin/interpreter-exceptions: Adding test for new error handling. Experimental code to better handle interpreter errors. This seems to work fine and it catches some potentially nasty crashes so I'm merging it in even though it's not the final word on error handling yet. #646 tracks the work scheduled for later.
9 lines
290 B
Text
9 lines
290 B
Text
# Bro shouldn't crash when doing nothing, nor outputting anything.
|
|
#
|
|
# @TEST-EXEC: cat /dev/null | bro -r $TRACES/wikipedia.trace %INPUT
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff reporter.log
|
|
|
|
event connection_established(c: connection)
|
|
{
|
|
print c$ftp;
|
|
}
|