]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
tests: remove exit-code check for datasets-absolute-allowed on v8 2566/head 2568/head
authorAndreas Herz <andreas@stamus-networks.com>
Wed, 11 Jun 2025 08:42:11 +0000 (10:42 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 12 Jun 2025 07:40:50 +0000 (09:40 +0200)
commit1868f1f3880c1b6115c3583f5412cc42910fdc5e
treeb78c3113be776a0e83560baa2eda7c3fbc939543
parenta95bf07d23ba8546b48f6ae1654aaff908841f67
tests: remove exit-code check for datasets-absolute-allowed on v8

With the commit in Suricata to skip adding localstatedir when a full
path is provided, the S-V test does not exit with 1 anymore but rather
with 0 since it succeeds.

This commits updates the previous test to run with Suricata prior to
verison 8 and a dedicated copy of the test to work with Suricata 8
without the need to check the exit code anymore, since it's 0.

The new test is split between Unix like systems and Windows by using
different absolute paths for the filenames.
tests/datasets/datasets-absolute-allowed-pre8/README.md [new file with mode: 0644]
tests/datasets/datasets-absolute-allowed-pre8/suricata.yaml [new file with mode: 0644]
tests/datasets/datasets-absolute-allowed-pre8/test.rules [new file with mode: 0644]
tests/datasets/datasets-absolute-allowed-pre8/test.yaml [new file with mode: 0644]
tests/datasets/datasets-absolute-allowed-winonly/README.md [new file with mode: 0644]
tests/datasets/datasets-absolute-allowed-winonly/suricata.yaml [new file with mode: 0644]
tests/datasets/datasets-absolute-allowed-winonly/test.rules [new file with mode: 0644]
tests/datasets/datasets-absolute-allowed-winonly/test.yaml [new file with mode: 0644]
tests/datasets/datasets-absolute-allowed/test.yaml