From 41114b11add65d268dc80b02bc2f4198bbcd6aab Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 17 Nov 2023 12:33:45 +0100 Subject: [PATCH] tests: fix requirements to pass on 6 and 7 --- tests/detect-flow-pkts/test.yaml | 2 +- tests/detect-to_lowercase-01/test.yaml | 3 ++- tests/detect-to_lowercase-02/test.yaml | 3 ++- tests/detect-to_uppercase-01/test.yaml | 3 ++- tests/detect-to_uppercase-02/test.yaml | 3 ++- tests/http2-userinfo-authority/test.yaml | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/detect-flow-pkts/test.yaml b/tests/detect-flow-pkts/test.yaml index 6e2df08b7..440484ffc 100644 --- a/tests/detect-flow-pkts/test.yaml +++ b/tests/detect-flow-pkts/test.yaml @@ -1,5 +1,5 @@ requires: - min-version: 7 + min-version: 8 pcap: ../decode-teredo-01/input.pcap diff --git a/tests/detect-to_lowercase-01/test.yaml b/tests/detect-to_lowercase-01/test.yaml index fbaae82f0..91327feee 100644 --- a/tests/detect-to_lowercase-01/test.yaml +++ b/tests/detect-to_lowercase-01/test.yaml @@ -1,8 +1,9 @@ pcap: ../bug-3616-ips/input.pcap requires: - min-version: 7.0.3 pcap: false + files: + - src/detect-transform-casechange.c exit-code: 0 diff --git a/tests/detect-to_lowercase-02/test.yaml b/tests/detect-to_lowercase-02/test.yaml index 57806a6b7..f2f8ba2ea 100644 --- a/tests/detect-to_lowercase-02/test.yaml +++ b/tests/detect-to_lowercase-02/test.yaml @@ -1,8 +1,9 @@ pcap: ../bug-3616-ips/input.pcap requires: - min-version: 7.0.3 pcap: false + files: + - src/detect-transform-casechange.c exit-code: 1 diff --git a/tests/detect-to_uppercase-01/test.yaml b/tests/detect-to_uppercase-01/test.yaml index fbaae82f0..91327feee 100644 --- a/tests/detect-to_uppercase-01/test.yaml +++ b/tests/detect-to_uppercase-01/test.yaml @@ -1,8 +1,9 @@ pcap: ../bug-3616-ips/input.pcap requires: - min-version: 7.0.3 pcap: false + files: + - src/detect-transform-casechange.c exit-code: 0 diff --git a/tests/detect-to_uppercase-02/test.yaml b/tests/detect-to_uppercase-02/test.yaml index 57806a6b7..f2f8ba2ea 100644 --- a/tests/detect-to_uppercase-02/test.yaml +++ b/tests/detect-to_uppercase-02/test.yaml @@ -1,8 +1,9 @@ pcap: ../bug-3616-ips/input.pcap requires: - min-version: 7.0.3 pcap: false + files: + - src/detect-transform-casechange.c exit-code: 1 diff --git a/tests/http2-userinfo-authority/test.yaml b/tests/http2-userinfo-authority/test.yaml index fb9849550..a9c1af4a8 100644 --- a/tests/http2-userinfo-authority/test.yaml +++ b/tests/http2-userinfo-authority/test.yaml @@ -1,5 +1,5 @@ requires: - min-version: 6.0.0 + min-version: 8.0.0 # disables checksum verification args: -- 2.47.2