mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Remove redundant memory leak btests
Or otherwise convert into a regular btest if it didn't already seem to be covered. There's no need for a separate memory leak test group since compiling with LeakSanitizer now covers leak checking for the full btest suite.
This commit is contained in:
parent
44d922c4b5
commit
e6f4e01041
85 changed files with 105 additions and 4432 deletions
|
@ -1,9 +1,10 @@
|
|||
# This tests that basic IRC commands (NICK, USER, JOIN, DCC SEND)
|
||||
# are logged for a client.
|
||||
|
||||
# @TEST-EXEC: zeek -r $TRACES/irc-dcc-send.trace %INPUT
|
||||
# @TEST-EXEC: zeek -r $TRACES/irc-dcc-send.trace %INPUT >out
|
||||
# @TEST-EXEC: btest-diff irc.log
|
||||
# @TEST-EXEC: btest-diff conn.log
|
||||
# @TEST-EXEC: btest-diff out
|
||||
|
||||
# dcc mime types are irrelevant to this test, so filter it out
|
||||
event zeek_init()
|
||||
|
@ -11,3 +12,8 @@ event zeek_init()
|
|||
Log::remove_default_filter(IRC::LOG);
|
||||
Log::add_filter(IRC::LOG, [$name="remove-mime", $exclude=set("dcc_mime_type")]);
|
||||
}
|
||||
|
||||
event irc_names_info(c: connection, is_orig: bool, c_type: string, channel: string, users: string_set)
|
||||
{
|
||||
print "irc_names_info", channel, users;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue