]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests/datasets-parent-path: skip filter checks on windows 1250/head
authorJason Ish <jason.ish@oisf.net>
Wed, 14 Jun 2023 17:50:56 +0000 (10:50 -0700)
committerJason Ish <jason.ish@oisf.net>
Wed, 14 Jun 2023 17:52:14 +0000 (10:52 -0700)
The test is still run as validating the exit code is still useful.

tests/datasets/datasets-parent-path/test.yaml

index ec1846ac79523281d4ad2dc23c9de379dcf7fe8a..a1d08d1a80f0016595da72bfaf8d04785be7ab96 100644 (file)
@@ -2,14 +2,20 @@ exit-code: 1
 
 checks:
   - filter:
+      requires:
+        lambda: sys.platform != "win32"
       count: 1
       match:
         engine.message: "Directory traversals not allowed: ../dns-seen.txt"
   - filter:
+      requires:
+        lambda: sys.platform != "win32"
       count: 1
       match:
         engine.message: "Directory traversals not allowed: namespace/../dns-seen-1.txt"
   - filter:
+      requires:
+        lambda: sys.platform != "win32"
       count: 1
       match:
         engine.message: "Directory traversals not allowed: namespace/../dns-seen-save.txt"