Skip to content

adjust nft dump files and add check-tree script

Thomas Haller netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tests/shell: remove spurious .nft dump filestests/shell/testcases/chains/dumps/0043chain_ingress.nft tests/shell/testcases/nft-f/dumps/0026policy_variable_0.nft+0 -160 replies
2/6tests/shell: drop unstable dump for "transactions/0051map_0" testtests/shell/testcases/transactions/dumps/0051map_0.nft tests/shell/testcases/transactions/dumps/0051map_0.nodump+0 -70 replies
3/6tests/shell: add missing nft/nodump files for teststests/shell/testcases/listing/dumps/0013objects_0.nft tests/shell/testcases/sets/dumps/reset_command_0.nodump tests/shell/testcases/transactions/dumps/bad_expression.nft+29 -00 replies
4/6tests/shell: special handle base path starting with "./"tests/shell/run-tests.sh+3 -10 replies
5/6tests/shell: in find_tests() use C locale for sorting tests namestests/shell/run-tests.sh+1 -10 replies
6/6tools: add "tools/check-tree.sh" script to check consistency of nft dumpstools/check-tree.sh+91 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nft 0/6] adjust nft dump files and add check-tree script

- add/remove some nft dump scripts, as they are missing or wrong.
- add a "tools/check-tree.sh" script for consistency checks of the source tree. Currently, it's only concerned about the tests/shell dump files, but (from the name of the script) it shall be used for further consistency checks.

Thomas Haller (6):
tests/shell: remove spurious .nft dump files tests/shell: drop unstable dump for "transactions/0051map_0" test tests/shell: add missing nft/nodump files for tests tests/shell: special handle base path starting with "./" tests/shell: in find_tests() use C locale for sorting tests names
tools: add "tools/check-tree.sh" script to check consistency of nft
dumps

 tests/shell/run-tests.sh                      |  6 +-
 .../chains/dumps/0043chain_ingress.nft        | 11 ---
 .../testcases/listing/dumps/0013objects_0.nft | 29 ++++++
 .../nft-f/dumps/0026policy_variable_0.nft     |  5 -
 .../sets/dumps/reset_command_0.nodump         |  0
 .../transactions/dumps/0051map_0.nft          |  7 --
 .../transactions/dumps/0051map_0.nodump       |  0
 .../transactions/dumps/bad_expression.nft     |  0
 tools/check-tree.sh                           | 91 +++++++++++++++++++
 9 files changed, 124 insertions(+), 25 deletions(-)
 delete mode 100644 tests/shell/testcases/chains/dumps/0043chain_ingress.nft
 create mode 100644 tests/shell/testcases/listing/dumps/0013objects_0.nft
 delete mode 100644 tests/shell/testcases/nft-f/dumps/0026policy_variable_0.nft
 create mode 100644 tests/shell/testcases/sets/dumps/reset_command_0.nodump
 delete mode 100644 tests/shell/testcases/transactions/dumps/0051map_0.nft
 create mode 100644 tests/shell/testcases/transactions/dumps/0051map_0.nodump
 create mode 100644 tests/shell/testcases/transactions/dumps/bad_expression.nft
 create mode 100755 tools/check-tree.sh
Signature · 1 line
2.41.0