Add TEST-REQUIRES: which jq to two new tests that are using jq

This commit is contained in:
Johanna Amann 2024-11-27 16:51:53 +00:00
parent e52bad6192
commit 079581aa6b
2 changed files with 2 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# @TEST-REQUIRES: which jq
# @TEST-DOC: Test the policy for removing the unknown IP protocol field and connections from conn.log # @TEST-DOC: Test the policy for removing the unknown IP protocol field and connections from conn.log
# @TEST-EXEC: zeek -r $TRACES/cisco-fabric-path.pcap %INPUT # @TEST-EXEC: zeek -r $TRACES/cisco-fabric-path.pcap %INPUT
# @TEST-EXEC: test $(head -1 conn.log | jq 'has("ip_proto")') = "false" # @TEST-EXEC: test $(head -1 conn.log | jq 'has("ip_proto")') = "false"

View file

@ -1,3 +1,4 @@
# @TEST-REQUIRES: which jq
# @TEST-DOC: Tests the ip-proto-name-logging policy file # @TEST-DOC: Tests the ip-proto-name-logging policy file
# @TEST-EXEC: zeek -r $TRACES/cisco-fabric-path.pcap %INPUT > out # @TEST-EXEC: zeek -r $TRACES/cisco-fabric-path.pcap %INPUT > out