]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: pop3: address todos in test
authorVictor Julien <victor@inliniac.net>
Sat, 4 Oct 2025 13:25:57 +0000 (15:25 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 8 Oct 2025 19:30:01 +0000 (21:30 +0200)
tests/pop3/test.yaml

index d406ca5c0d0cd18c6f08a960a10372c237a2487e..1c36779808dd632aa324e2a294f525a4a2f10bbb 100644 (file)
@@ -3,8 +3,13 @@ requires:
 
 checks:
 - filter:
+    lt-version: 9
     count: 5
-    # count: 56
+    match:
+      event_type: pop3
+- filter:
+    min-version: 9
+    count: 56
     match:
       event_type: pop3
 
@@ -44,21 +49,23 @@ checks:
       pop3.request.command: "LIST"
       pop3.response.success: true
 
-# Bug with sawp_pop3 causing early exit
-# - filter:
-    count: 1
-    match:
-      pop3.request.command: "RSET"
-      pop3.response.success: true
+- filter:
+    min-version: 9
+    count: 1
+    match:
+      pop3.request.command: "RSET"
+      pop3.response.success: true
 
-# - filter:
-#     count: 1
-#     match:
-#       pop3.request.command: "UIDL"
-#       pop3.response.success: true
+- filter:
+    min-version: 9
+    count: 1
+    match:
+      pop3.request.command: "UIDL"
+      pop3.response.success: true
 
-# - filter:
-#     count: 49
-#     match:
-#       pop3.request.command: "TOP"
-#       pop3.response.success: true
+- filter:
+    min-version: 9
+    count: 49
+    match:
+      pop3.request.command: "TOP"
+      pop3.response.success: true