From: Victor Julien Date: Fri, 26 Apr 2019 08:27:14 +0000 (+0200) Subject: tests: fix test requirements for 4.1.x and 4.0.x X-Git-Tag: suricata-6.0.4~460 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb28ce8380310d7386f64685b89a02146495b8ab;p=thirdparty%2Fsuricata-verify.git tests: fix test requirements for 4.1.x and 4.0.x --- diff --git a/tests/alert-distance-within-1/suricata.yaml b/tests/alert-distance-within-1/suricata.yaml index 05c3bb0d5..fd6c1c254 100644 --- a/tests/alert-distance-within-1/suricata.yaml +++ b/tests/alert-distance-within-1/suricata.yaml @@ -13,4 +13,4 @@ outputs: payload-printable: no packet: no metadata: no - - http: + - http diff --git a/tests/alert-distance-within-1/test.yaml b/tests/alert-distance-within-1/test.yaml index 7a28eded2..290a14a38 100644 --- a/tests/alert-distance-within-1/test.yaml +++ b/tests/alert-distance-within-1/test.yaml @@ -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 diff --git a/tests/http-range/test.yaml b/tests/http-range/test.yaml index dd667d4ef..04618b5da 100644 --- a/tests/http-range/test.yaml +++ b/tests/http-range/test.yaml @@ -1,6 +1,7 @@ requires: features: - HAVE_LIBJANSSON + min-version: 5.0.0 # disables checksum verification args: diff --git a/tests/http-sticky-location/test.yaml b/tests/http-sticky-location/test.yaml index b7a7c5523..7703ab29b 100644 --- a/tests/http-sticky-location/test.yaml +++ b/tests/http-sticky-location/test.yaml @@ -1,3 +1,8 @@ +requires: + features: + - HAVE_JANSSON + min-version: 5.0.0 + checks: - filter: count: 1 diff --git a/tests/http-sticky-server/test.yaml b/tests/http-sticky-server/test.yaml index 15a366ada..5f545c4a0 100644 --- a/tests/http-sticky-server/test.yaml +++ b/tests/http-sticky-server/test.yaml @@ -1,3 +1,8 @@ +requires: + features: + - HAVE_JANSSON + min-version: 5.0.0 + checks: - filter: count: 28