From: Jason Ish Date: Wed, 18 Jan 2023 18:23:12 +0000 (-0600) Subject: pcap-log: fix tests for issue 5374 X-Git-Tag: suricata-6.0.10~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1085%2Fhead;p=thirdparty%2Fsuricata-verify.git pcap-log: fix tests for issue 5374 Suricata 7.0-dev will now use the time of the start packet for pcap logging when reading from a file like 6.0 did. Issue: 5374 --- diff --git a/tests/output-pcap-log-conditional-alert/test.yaml b/tests/output-pcap-log-conditional-alert/test.yaml index a07a7be69..97abdb517 100644 --- a/tests/output-pcap-log-conditional-alert/test.yaml +++ b/tests/output-pcap-log-conditional-alert/test.yaml @@ -3,5 +3,5 @@ requires: checks: - file-compare: - filename: log.pcap.0 + filename: log.pcap.1444144603 expected: expected/log.pcap.1444144603 diff --git a/tests/output-pcap-log-conditional-tag-alert/test.yaml b/tests/output-pcap-log-conditional-tag-alert/test.yaml index a07a7be69..97abdb517 100644 --- a/tests/output-pcap-log-conditional-tag-alert/test.yaml +++ b/tests/output-pcap-log-conditional-tag-alert/test.yaml @@ -3,5 +3,5 @@ requires: checks: - file-compare: - filename: log.pcap.0 + filename: log.pcap.1444144603 expected: expected/log.pcap.1444144603 diff --git a/tests/output-pcap-log/test.yaml b/tests/output-pcap-log/test.yaml index a07a7be69..97abdb517 100644 --- a/tests/output-pcap-log/test.yaml +++ b/tests/output-pcap-log/test.yaml @@ -3,5 +3,5 @@ requires: checks: - file-compare: - filename: log.pcap.0 + filename: log.pcap.1444144603 expected: expected/log.pcap.1444144603