]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: update http gap test to fixed size logic
authorVictor Julien <victor@inliniac.net>
Mon, 13 Jun 2022 12:32:30 +0000 (14:32 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 13 Jun 2022 12:32:30 +0000 (14:32 +0200)
tests/http-gap-beyond-body/test.yaml
tests/http-gap-whole-body/test.yaml

index 5ec91f11d6b41af1fed3f98503d12c38e9cef6ad..81ad3c73299283265b1d491bb9acf8f65d1c7dc7 100644 (file)
@@ -34,6 +34,6 @@ checks:
       count: 1
       match:
         event_type: fileinfo
-        fileinfo.size: 0
+        fileinfo.size: 12
         fileinfo.state: "TRUNCATED"
         fileinfo.gaps: true
index cdfbf47df742364fbe3b03875740f85d8ede2cdc..d61c3e7eefdeece765fb33a93c9c469bbfc2c9b3 100644 (file)
@@ -39,7 +39,7 @@ checks:
       count: 1
       match:
         event_type: fileinfo
-        fileinfo.size: 0
+        fileinfo.size: 12
         fileinfo.state: "TRUNCATED"
         fileinfo.gaps: true
   - filter: