From 14ba9b5a0cb8c126e643f356f8601fafc4d734d0 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 18 Jan 2023 12:23:12 -0600 Subject: [PATCH] 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 --- tests/output-pcap-log-conditional-alert/test.yaml | 2 +- tests/output-pcap-log-conditional-tag-alert/test.yaml | 2 +- tests/output-pcap-log/test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.2