From: Shivani Bhardwaj Date: Fri, 10 Mar 2023 05:38:09 +0000 (+0530) Subject: smtp-eve: fix filesize and version check X-Git-Tag: suricata-6.0.12~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6fc201f253f61da0f34b43e5d2e0e3da060c90f;p=thirdparty%2Fsuricata-verify.git smtp-eve: fix filesize and version check Earlier, the CRLFs that were a part of the file were also stripped off as a part of finding and stripping the delimiters in the MIME handler. This was fixed as a part of https://redmine.openinfosecfoundation.org/issues/5725. This patch fixes the test too to reflect the fix. Ticket: 5821 --- diff --git a/tests/smtp-eve/test.yaml b/tests/smtp-eve/test.yaml index 2c8305a97..3fd28caab 100644 --- a/tests/smtp-eve/test.yaml +++ b/tests/smtp-eve/test.yaml @@ -64,7 +64,6 @@ checks: src_port: 1470 tx_id: 0 - filter: - version: 6.0.0 # FIXME ref: https://redmine.openinfosecfoundation.org/issues/5821 count: 1 match: app_proto: smtp @@ -77,11 +76,10 @@ checks: event_type: fileinfo fileinfo.filename: NEWS.txt fileinfo.gaps: false - fileinfo.size: 10735 + fileinfo.size: 10809 fileinfo.state: CLOSED fileinfo.stored: false fileinfo.tx_id: 0 - pcap_cnt: 51 proto: TCP smtp.helo: GP smtp.mail_from: