spicy-redis: Cleanup scripts and tests

- 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
This commit is contained in:
Evan Typanski 2025-05-16 13:16:49 -04:00
parent 11777bd6d5
commit d5b121db14
66 changed files with 368 additions and 1072 deletions

View file

@ -1,17 +1,17 @@
# @TEST-DOC: Test that Redis does not parse if it starts with the server data
# @TEST-REQUIRES: have-spicy
#
# @TEST-EXEC: zeek -b -Cr $TRACES/redis/start-with-server.pcap %INPUT >output
# @TEST-EXEC: zeek -b -r $TRACES/redis/start-with-server.pcap %INPUT >output
# @TEST-EXEC: btest-diff output
@load base/protocols/redis
event Redis::client_command(c: connection, command: Redis::Command)
event Redis::command(c: connection, command: Redis::Command)
{
print "BAD", command;
}
event Redis::server_data(c: connection, dat: Redis::ServerData)
event Redis::reply(c: connection, dat: Redis::ServerData)
{
print "BAD", dat;
}