]> git.ipfire.org Git - thirdparty/nftables.git/commit
Merge branch 'tests_shell_check_tree_fixes'
authorFlorian Westphal <fw@strlen.de>
Mon, 30 Jun 2025 12:39:22 +0000 (14:39 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 30 Jun 2025 12:39:22 +0000 (14:39 +0200)
commit01acf253005ab89b9f2f94d2788644a54bed1c8f
treebc4757c94c19dfa41051ac50ed0916d319891f00
parent525b58568dca5ab9998595fc45313eac2764b6b1
parent0d2c1a3de94f1f151e8fa471910195baa67cdcdd
Merge branch 'tests_shell_check_tree_fixes'

Add many more json dump files, now that json input parser handles
'typeof', add dump files for all of them.

Also some tests lacked a .nft dump file too, add them.

Other tests can't have dump files because they produce unstable output
(e.g. due to timeouts or because test is randomized).

Add a 'nodump' files for those so tools/check-tree.sh won't complain
about them.

Furthermore check-tree.sh should not report the json bogon inputs in
tests/shell/testcases/bogons/nft-j-f as "Unexpected files".

Finally, two bogon inputs were in the wrong directory (and thus were
not used as test inputs) move them to the right location.

After his merge, only 10 check-tree.sh warnings remain and all errors
are gone.

There are still missing json test files, this is mostly due to missing
anonymous (implicit) chain support in the json parser.

Leave the warnings as-is so it can be properly resolved (add support)
at a later time.

Signed-off-by: Florian Westphal <fw@strlen.de>