mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
633 B
Text
17 lines
633 B
Text
# @TEST-DOC: Test Zeek parsing a trace file made with bulk-created SET commands
|
|
# @TEST-REQUIRES: have-spicy
|
|
#
|
|
# @TEST-EXEC: zeek -b -r $TRACES/redis/bulk-loading.pcap %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
# The bulk-loading functionality just sends the serialized form from some ruby
|
|
# code directly to the server, but it's useful to see if that trace might come
|
|
# up with something different. See:
|
|
# https://redis.io/docs/latest/develop/use/patterns/bulk-loading/
|
|
|
|
@load base/protocols/redis
|
|
|
|
event Redis::set_command(c: connection, command: Redis::SetCommand)
|
|
{
|
|
print fmt("SET: %s %s", command$key, command$value);
|
|
}
|