mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

- Recomputes checksums for pcaps to keep clean - Removes some tests that had big pcaps or weren't necessary - Cleans up scripting names and minor points - Comments out Spicy code that causes a build failure now with a TODO to uncomment it
17 lines
421 B
Text
17 lines
421 B
Text
# @TEST-DOC: Test that Redis does not parse if it starts with the server data
|
|
# @TEST-REQUIRES: have-spicy
|
|
#
|
|
# @TEST-EXEC: zeek -b -r $TRACES/redis/start-with-server.pcap %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
@load base/protocols/redis
|
|
|
|
event Redis::command(c: connection, command: Redis::Command)
|
|
{
|
|
print "BAD", command;
|
|
}
|
|
|
|
event Redis::reply(c: connection, dat: Redis::ServerData)
|
|
{
|
|
print "BAD", dat;
|
|
}
|