Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/topic/robin/gh-41-batch-files'
Browse files Browse the repository at this point in the history
* origin/topic/robin/gh-41-batch-files:
  Add note about testing with batch files to Spicy protocol analyzer.
  • Loading branch information
rsmmr committed Dec 10, 2024
2 parents bf196b8 + fbe2533 commit 17c8367
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@
# @TEST-EXEC: spicyc ${DIST}/analyzer/@[email protected] -j -d -o @[email protected]
#
# TODO: Add/adapt standalone parsing tests here.
#
# NOTE: If you cannot easily test your parser using "printf", consider
# using spicy-driver's batch mode instead to test with application
# payload extracted from a PCAP trace. See the tutorial in the Spicy
# documentation for more on how to create and use such batch files:
# https://docs.zeek.org/projects/spicy/en/latest/tutorial#testing-with-batch-mode
#
# @TEST-EXEC: printf "test string" | spicy-dump -p @ANALYZER@::@UNIT_ORIG@ @[email protected] >output 2>&1
# @TEST-EXEC: TEST_DIFF_CANONIFIER= btest-diff output

0 comments on commit 17c8367

Please sign in to comment.