]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: fix test requirements for 4.1.x and 4.0.x
authorVictor Julien <victor@inliniac.net>
Fri, 26 Apr 2019 08:27:14 +0000 (10:27 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 26 Apr 2019 08:27:14 +0000 (10:27 +0200)
tests/alert-distance-within-1/suricata.yaml
tests/alert-distance-within-1/test.yaml
tests/http-range/test.yaml
tests/http-sticky-location/test.yaml
tests/http-sticky-server/test.yaml

index 05c3bb0d5d90312d7c7c97333493a525ada2b77d..fd6c1c254d8f88138be11cba3e96462672566b0e 100644 (file)
@@ -13,4 +13,4 @@ outputs:
             payload-printable: no
             packet: no
             metadata: no
-        - http:
+        - http
index 7a28eded2174bcccfe308a7cdeb2ef44332d6350..290a14a38add943b3e5c635ba885dfa362626158 100644 (file)
@@ -2,8 +2,10 @@ requires:
   features:
     - HAVE_LIBJANSSON
 
-checks:
+args:
+ - -k none
 
+checks:
   # Check that we have the following events in eve.json
   # 2 - alert events
   # 1 - http event
@@ -11,6 +13,7 @@ checks:
       count: 2
       match:
         event_type: alert
+  - filter:
       count: 1
       match:
         event_type: http
index dd667d4ef20d4c4c7d786e1675293850927930f4..04618b5da13f861e5c918c3dfbe19fdee40a1a97 100644 (file)
@@ -1,6 +1,7 @@
 requires:
   features:
     - HAVE_LIBJANSSON
+  min-version: 5.0.0
 
 # disables checksum verification
 args:
index b7a7c5523c89962dfbe6c4b1fb8bcd4ef5e7f689..7703ab29b8486ad136054f0fadee01317465c434 100644 (file)
@@ -1,3 +1,8 @@
+requires:
+  features:
+    - HAVE_JANSSON
+  min-version: 5.0.0
+
 checks:
   - filter:
       count: 1
index 15a366ada0e937e724623d8c69ee06ae01aaa092..5f545c4a018ee382d0db0df1310a952fb58e903c 100644 (file)
@@ -1,3 +1,8 @@
+requires:
+  features:
+    - HAVE_JANSSON
+  min-version: 5.0.0
+
 checks:
   - filter:
       count: 28