mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
10 lines
343 B
Text
10 lines
343 B
Text
# @TEST-DOC: Test Zeek parsing a trace file through the RESP analyzer.
|
|
#
|
|
# @TEST-EXEC: zeek -Cr $TRACES/redis/loop-redis.trace base/protocols/redis %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
# @TEST-EXEC: btest-diff resp.log
|
|
|
|
event RESP::data(c: connection, payload: RESP::RESPData)
|
|
{
|
|
print fmt("Testing RESP: %s", payload);
|
|
}
|