]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
datarep: adjust error message to newer output 2287/head 2293/head
authorShivani Bhardwaj <shivanib134@gmail.com>
Mon, 10 Feb 2025 10:43:10 +0000 (16:13 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Fri, 14 Feb 2025 07:11:50 +0000 (12:41 +0530)
tests/datarep-03-bad-reputation/test.yaml

index debe6e5f93d7890211720bd827264abcf5844bb4..29ac709848f73e11273763dcd89a34e53f963ff7 100644 (file)
@@ -14,8 +14,14 @@ args:
 
 checks:
   - shell:
+      min-version: 8
+      args: grep "invalid datarep value" suricata.log | wc -l | xargs
+      expect: 1
+  - shell:
+      lt-version: 8
       args: grep "is not a valid reputation value" suricata.log | wc -l | xargs
       expect: 1
   - shell:
+      lt-version: 8
       args: grep "bad rep for dataset" suricata.log | wc -l | xargs
       expect: 1