]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: move bogons to correct directory
authorFlorian Westphal <fw@strlen.de>
Sun, 29 Jun 2025 10:13:38 +0000 (12:13 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 30 Jun 2025 12:36:58 +0000 (14:36 +0200)
These two bogons were never loaded, they have to placed in the "nft-f"
subdir.

Also add the "nft-j-f" bogon input dir to the ignored files list so their
existence is not reported as an error by check-tree.sh.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/bogons/nft-f/nat_map_and_protocol_assert [moved from tests/shell/testcases/bogons/nat_map_and_protocol_assert with 100% similarity]
tests/shell/testcases/bogons/nft-f/objref_double_free_crash [moved from tests/shell/testcases/bogons/objref_double_free_crash with 100% similarity]
tools/check-tree.sh

index e358c957857e9ecb7b8e55ee2c8786ad3c5b9ec6..92227cb8e45dd317fc3bbe6ef41e7eb9dbb3fc03 100755 (executable)
@@ -111,7 +111,7 @@ fi
 ##############################################################################
 #
 F=( $(find tests/shell/testcases/ -type f | grep '^tests/shell/testcases/[^/]\+/dumps/[^/]\+\.\(json-nft\|nft\|nodump\)$' -v | sort) )
-IGNORED_FILES=( tests/shell/testcases/bogons/nft-f/* )
+IGNORED_FILES=( tests/shell/testcases/bogons/nft-f/* tests/shell/testcases/bogons/nft-j-f/* )
 for f in "${F[@]}" ; do
        if ! array_contains "$f" "${SHELL_TESTS[@]}" "${IGNORED_FILES[@]}" ; then
                msg_err "Unexpected file \"$f\""