From: Juliana Fajardini Date: Thu, 27 Mar 2025 02:25:04 +0000 (-0700) Subject: tests/lua: move tests using SCFlow funcs to *-pre8 X-Git-Tag: suricata-7.0.11~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4e92657aba24f8077f937f35fe763be939018b7;p=thirdparty%2Fsuricata-verify.git tests/lua: move tests using SCFlow funcs to *-pre8 Task #7489 --- diff --git a/tests/lua-output-streaming/expected/6-172.16.1.68-162.209.114.75-58384-80 b/tests/lua-output-streaming-pre8/expected/6-172.16.1.68-162.209.114.75-58384-80 similarity index 100% rename from tests/lua-output-streaming/expected/6-172.16.1.68-162.209.114.75-58384-80 rename to tests/lua-output-streaming-pre8/expected/6-172.16.1.68-162.209.114.75-58384-80 diff --git a/tests/lua-output-streaming/expected/http-6-172.16.1.68-162.209.114.75-58384-80 b/tests/lua-output-streaming-pre8/expected/http-6-172.16.1.68-162.209.114.75-58384-80 similarity index 100% rename from tests/lua-output-streaming/expected/http-6-172.16.1.68-162.209.114.75-58384-80 rename to tests/lua-output-streaming-pre8/expected/http-6-172.16.1.68-162.209.114.75-58384-80 diff --git a/tests/lua-output-streaming/streaming-http.lua b/tests/lua-output-streaming-pre8/streaming-http.lua similarity index 100% rename from tests/lua-output-streaming/streaming-http.lua rename to tests/lua-output-streaming-pre8/streaming-http.lua diff --git a/tests/lua-output-streaming/streaming-tcp.lua b/tests/lua-output-streaming-pre8/streaming-tcp.lua similarity index 100% rename from tests/lua-output-streaming/streaming-tcp.lua rename to tests/lua-output-streaming-pre8/streaming-tcp.lua diff --git a/tests/lua-output-streaming/suricata.yaml b/tests/lua-output-streaming-pre8/suricata.yaml similarity index 95% rename from tests/lua-output-streaming/suricata.yaml rename to tests/lua-output-streaming-pre8/suricata.yaml index 73365db0b..609877b85 100644 --- a/tests/lua-output-streaming/suricata.yaml +++ b/tests/lua-output-streaming-pre8/suricata.yaml @@ -1,6 +1,8 @@ %YAML 1.1 --- +include: ../../etc/suricata-4.0.3.yaml + outputs: - lua: enabled: yes diff --git a/tests/lua-output-streaming/test.yaml b/tests/lua-output-streaming-pre8/test.yaml similarity index 95% rename from tests/lua-output-streaming/test.yaml rename to tests/lua-output-streaming-pre8/test.yaml index b7d11de1f..95c926b11 100644 --- a/tests/lua-output-streaming/test.yaml +++ b/tests/lua-output-streaming-pre8/test.yaml @@ -1,6 +1,7 @@ requires: features: - HAVE_LUA + lt-version: 8 pcap: ../filestore-v2.1-forced/suricata-update-pdf.pcap diff --git a/tests/lua-scflowstats/README.md b/tests/lua-scflowstats-pre8/README.md similarity index 100% rename from tests/lua-scflowstats/README.md rename to tests/lua-scflowstats-pre8/README.md diff --git a/tests/lua-scflowstats/expected/lua-scflowstats.log b/tests/lua-scflowstats-pre8/expected/lua-scflowstats.log similarity index 100% rename from tests/lua-scflowstats/expected/lua-scflowstats.log rename to tests/lua-scflowstats-pre8/expected/lua-scflowstats.log diff --git a/tests/lua-scflowstats/lua-scflowstats.lua b/tests/lua-scflowstats-pre8/lua-scflowstats.lua similarity index 100% rename from tests/lua-scflowstats/lua-scflowstats.lua rename to tests/lua-scflowstats-pre8/lua-scflowstats.lua diff --git a/tests/lua-scflowstats/suricata.yaml b/tests/lua-scflowstats-pre8/suricata.yaml similarity index 74% rename from tests/lua-scflowstats/suricata.yaml rename to tests/lua-scflowstats-pre8/suricata.yaml index c969224bc..dff269b03 100644 --- a/tests/lua-scflowstats/suricata.yaml +++ b/tests/lua-scflowstats-pre8/suricata.yaml @@ -1,6 +1,8 @@ %YAML 1.1 --- +include: ../../etc/suricata-4.0.3.yaml + outputs: - lua: enabled: yes diff --git a/tests/lua-scflowstats/test.yaml b/tests/lua-scflowstats-pre8/test.yaml similarity index 93% rename from tests/lua-scflowstats/test.yaml rename to tests/lua-scflowstats-pre8/test.yaml index 862c74471..5261b2fdb 100644 --- a/tests/lua-scflowstats/test.yaml +++ b/tests/lua-scflowstats-pre8/test.yaml @@ -3,6 +3,7 @@ pcap: ../lua-output-http/input.pcap requires: features: - HAVE_LUA + lt-version: 8 checks: diff --git a/tests/lua-scflowtuple/README.md b/tests/lua-scflowtuple-pre8/README.md similarity index 100% rename from tests/lua-scflowtuple/README.md rename to tests/lua-scflowtuple-pre8/README.md diff --git a/tests/lua-scflowtuple/expected/scflow-tuple.log b/tests/lua-scflowtuple-pre8/expected/scflow-tuple.log similarity index 100% rename from tests/lua-scflowtuple/expected/scflow-tuple.log rename to tests/lua-scflowtuple-pre8/expected/scflow-tuple.log diff --git a/tests/lua-scflowtuple/scflowtuple.lua b/tests/lua-scflowtuple-pre8/scflowtuple.lua similarity index 100% rename from tests/lua-scflowtuple/scflowtuple.lua rename to tests/lua-scflowtuple-pre8/scflowtuple.lua diff --git a/tests/lua-scflowtuple/suricata.yaml b/tests/lua-scflowtuple-pre8/suricata.yaml similarity index 74% rename from tests/lua-scflowtuple/suricata.yaml rename to tests/lua-scflowtuple-pre8/suricata.yaml index 4245578af..6ca8950e0 100644 --- a/tests/lua-scflowtuple/suricata.yaml +++ b/tests/lua-scflowtuple-pre8/suricata.yaml @@ -1,6 +1,8 @@ %YAML 1.1 --- +include: ../../etc/suricata-4.0.3.yaml + outputs: - lua: enabled: yes diff --git a/tests/lua-scflowtuple/test.yaml b/tests/lua-scflowtuple-pre8/test.yaml similarity index 93% rename from tests/lua-scflowtuple/test.yaml rename to tests/lua-scflowtuple-pre8/test.yaml index 523c24524..9d4ef739b 100644 --- a/tests/lua-scflowtuple/test.yaml +++ b/tests/lua-scflowtuple-pre8/test.yaml @@ -3,6 +3,7 @@ pcap: ../lua-output-http/input.pcap requires: features: - HAVE_LUA + lt-version: 8 checks: - file-compare: