mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Spicy: allow providing file id in zeek::file_begin
Minor update of testcase
This commit is contained in:
parent
883190207a
commit
9a4de4e9fc
3 changed files with 7 additions and 5 deletions
|
@ -0,0 +1,3 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
FM47gX3vI5ofQPm1li
|
||||
FZjUS57tUkGFTibv3
|
|
@ -1,5 +1,3 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
FM47gX3vI5ofQPm1li
|
||||
FZjUS57tUkGFTibv3
|
||||
FaAaAaAaAaAaAaAaAa
|
||||
FaAaAaAaAaAaAaAaAa
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# @TEST-EXEC: cat ssh.spicy ssh-1.spicy > ssh-test.spicy
|
||||
# @TEST-EXEC: spicyz -d -o test.hlto ssh-test.spicy ./ssh-cond.evt
|
||||
# @TEST-EXEC: zeek -r ${TRACES}/ssh/single-conn.trace test.hlto %INPUT Spicy::enable_print=T | sort >output
|
||||
# @TEST-EXEC: zeek -r ${TRACES}/ssh/single-conn.trace test.hlto %INPUT Spicy::enable_print=T | sort >output-1
|
||||
#
|
||||
# @TEST-EXEC: cat x509.log | grep -v ^# | cut -f 4-5 >x509.log.tmp && mv x509.log.tmp x509.log
|
||||
# @TEST-EXEC: btest-diff x509.log
|
||||
|
@ -12,12 +12,13 @@
|
|||
#
|
||||
# @TEST-EXEC: cat ssh.spicy ssh-2.spicy > ssh-test.spicy
|
||||
# @TEST-EXEC: spicyz -d -o test.hlto ssh-test.spicy ./ssh-cond.evt
|
||||
# @TEST-EXEC: zeek -r ${TRACES}/ssh/single-conn.trace test.hlto %INPUT Spicy::enable_print=T | sort >>output
|
||||
# @TEST-EXEC: zeek -r ${TRACES}/ssh/single-conn.trace test.hlto %INPUT Spicy::enable_print=T | sort >output-2
|
||||
#
|
||||
# @TEST-EXEC: cat files.log | zeek-cut fuid filename >files.log.tmp && mv files.log.tmp files-2.log
|
||||
# @TEST-EXEC: btest-diff files-2.log
|
||||
#
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=diff-canonifier-spicy btest-diff output
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=diff-canonifier-spicy btest-diff output-1
|
||||
# @TEST-EXEC: TEST_DIFF_CANONIFIER=diff-canonifier-spicy btest-diff output-2
|
||||
|
||||
# @TEST-START-FILE ssh.spicy
|
||||
module SSH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue