summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2025-06-29 12:13:38 +0200
committerFlorian Westphal <fw@strlen.de>2025-06-30 14:36:58 +0200
commit6e322f2ddf1b0c20d1ae8a8c06e115eb2dc76cec (patch)
treeb766a374eee2cba1795b41d3ea3b98ecce2535d1
parentd84d43932d2081a9396f8b92b03adc4e9bff20c0 (diff)
tests: shell: move bogons to correct directory
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>
-rw-r--r--tests/shell/testcases/bogons/nft-f/nat_map_and_protocol_assert (renamed from tests/shell/testcases/bogons/nat_map_and_protocol_assert)0
-rw-r--r--tests/shell/testcases/bogons/nft-f/objref_double_free_crash (renamed from tests/shell/testcases/bogons/objref_double_free_crash)0
-rwxr-xr-xtools/check-tree.sh2
3 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/testcases/bogons/nat_map_and_protocol_assert b/tests/shell/testcases/bogons/nft-f/nat_map_and_protocol_assert
index 67f2ae87..67f2ae87 100644
--- a/tests/shell/testcases/bogons/nat_map_and_protocol_assert
+++ b/tests/shell/testcases/bogons/nft-f/nat_map_and_protocol_assert
diff --git a/tests/shell/testcases/bogons/objref_double_free_crash b/tests/shell/testcases/bogons/nft-f/objref_double_free_crash
index 52b0435b..52b0435b 100644
--- a/tests/shell/testcases/bogons/objref_double_free_crash
+++ b/tests/shell/testcases/bogons/nft-f/objref_double_free_crash
diff --git a/tools/check-tree.sh b/tools/check-tree.sh
index e358c957..92227cb8 100755
--- a/tools/check-tree.sh
+++ b/tools/check-tree.sh
@@ -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\""