update tests/shell for 5.4 kernels
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | tests: shell: export DIFF to use it from feature scriptstests/ | +6 | 5 replies | |
| 2/12 | tests: shell: skip pipapo tests if kernel lacks supporttests/ tests/ tests/ +9 more | +38 | 1 reply | |
| 3/12 | tests: shell: skip prerouting reject tests if kernel lacks supporttests/ tests/ | +10 | 1 reply | |
| 4/12 | tests: shell: skip stateful expression in sets tests if kernel lacks supporttests/ tests/ tests/ +4 more | +30 | 1 reply | |
| 5/12 | tests: shell: skip NAT netmap tests if kernel lacks supporttests/ tests/ | +10 | 0 replies | |
| 6/12 | tests: shell: skip comment tests if kernel lacks supporttests/ tests/ tests/ +3 more | +20 | 0 replies | |
| 7/12 | tests: shell: skip multidevice chain tests if kernel lacks supporttests/ tests/ | +16 | 0 replies | |
| 8/12 | tests: shell: skip if kernel does not support bitshifttests/ tests/ | +45 | 0 replies | |
| 9/12 | tests: shell: split set NAT interval testtests/ tests/ tests/ +1 more | +32 | 0 replies | |
| 10/12 | tests: shell: split map testtests/ tests/ tests/ +1 more | +38 | 0 replies | |
| 11/12 | tests: shell: split single element in anonymous settests/ tests/ tests/ +1 more | +31 | 0 replies | |
| 12/12 | tests: shell: split merge nat optimization in two teststests/ tests/ tests/ +1 more | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 00/12] update tests/shell for 5.4 kernels
Hi,
This is still not complete, still 8 tests/shell fail in 5.4 related to flowtable features that are missing, but this batch is already getting large.
This is the series:
1) export DIFF so it can be used from feature scripts.
2) Detect if pipapo set backend is present.
3) Detect if reject from prerouting chain support is present.
4) Detect if stateful expression in sets is supported.
5) Detect if NAT netmap support is present.
6) Detect if multidevice netdev chain support is present.
7) Split several tests not to lose coverage, usually those containing set intervals and set intervals with concatenations (pipapo). It is a bit of sledgehammer solution but for tests/shell I think it is fine.
I can follow up with a more complete series contains all feature detection for 5.4 or apply incrementally, just let me know.
Thanks.
Pablo Neira Ayuso (12):
tests: shell: export DIFF to use it from feature scripts
tests: shell: skip pipapo tests if kernel lacks support
tests: shell: skip prerouting reject tests if kernel lacks support
tests: shell: skip stateful expression in sets tests if kernel lacks support
tests: shell: skip NAT netmap tests if kernel lacks support
tests: shell: skip comment tests if kernel lacks support
tests: shell: skip multidevice chain tests if kernel lacks support
tests: shell: skip if kernel does not support bitshift
tests: shell: split set NAT interval test
tests: shell: split map test
tests: shell: split single element in anonymous set
tests: shell: split merge nat optimization in two tests
tests/shell/features/comment.sh | 11 +++ .../features/netdev_chain_multidevice.sh | 14 +++ tests/shell/features/netmap.nft | 8 ++ tests/shell/features/pipapo.nft | 9 ++ tests/shell/features/prerouting_reject.nft | 8 ++ tests/shell/features/set_expr.sh | 19 ++++ tests/shell/run-tests.sh | 11 +-- .../testcases/chains/0042chain_variable_0 | 2 + tests/shell/testcases/json/0002table_map_0 | 1 + tests/shell/testcases/json/0006obj_comment_0 | 1 + tests/shell/testcases/maps/0009vmap_0 | 2 + tests/shell/testcases/maps/0012map_0 | 19 ---- tests/shell/testcases/maps/0012map_concat_0 | 24 ++++++ tests/shell/testcases/maps/0013map_0 | 2 + tests/shell/testcases/maps/anon_objmap_concat | 2 + .../shell/testcases/maps/dumps/0012map_0.nft | 13 --- .../testcases/maps/dumps/0012map_concat_0.nft | 14 +++ tests/shell/testcases/maps/typeof_integer_0 | 2 + .../shell/testcases/maps/vmap_mark_bitwise_0 | 2 + .../optimizations/dumps/merge_nat.nft | 8 -- .../optimizations/dumps/merge_nat_concat.nft | 8 ++ .../optimizations/dumps/single_anon_set.nft | 1 - .../dumps/single_anon_set_expr.nft | 5 ++ tests/shell/testcases/optimizations/merge_nat | 13 --- .../testcases/optimizations/merge_nat_concat | 18 ++++ .../optimizations/merge_stmts_concat | 2 + .../testcases/optimizations/merge_stmts_vmap | 2 + .../testcases/optimizations/merge_vmap_raw | 2 + tests/shell/testcases/optimizations/ruleset | 2 + .../testcases/optimizations/single_anon_set | 3 - .../optimizations/single_anon_set_expr | 26 ++++++ .../testcases/optionals/comments_chain_0 | 2 + .../testcases/optionals/comments_objects_0 | 2 + .../testcases/optionals/comments_table_0 | 2 + tests/shell/testcases/sets/0020comments_0 | 2 + tests/shell/testcases/sets/0034get_element_0 | 2 + .../testcases/sets/0043concatenated_ranges_0 | 1 + .../testcases/sets/0043concatenated_ranges_1 | 2 + .../testcases/sets/0044interval_overlap_0 | 12 ++- tests/shell/testcases/sets/0046netmap_0 | 2 + tests/shell/testcases/sets/0047nat_0 | 2 + tests/shell/testcases/sets/0048set_counters_0 | 2 + .../testcases/sets/0051set_interval_counter_0 | 2 + .../testcases/sets/0067nat_concat_interval_0 | 17 +--- tests/shell/testcases/sets/0067nat_interval_0 | 18 ++++ tests/shell/testcases/sets/concat_interval_0 | 2 + .../sets/dumps/0067nat_concat_interval_0.nft | 7 -- .../sets/dumps/0067nat_interval_0.nft | 12 +++ tests/shell/testcases/sets/elem_opts_compat_0 | 2 + tests/shell/testcases/sets/typeof_sets_0 | 86 +++++++++---------- 50 files changed, 302 insertions(+), 129 deletions(-) create mode 100755 tests/shell/features/comment.sh create mode 100755 tests/shell/features/netdev_chain_multidevice.sh create mode 100644 tests/shell/features/netmap.nft create mode 100644 tests/shell/features/pipapo.nft create mode 100644 tests/shell/features/prerouting_reject.nft create mode 100755 tests/shell/features/set_expr.sh create mode 100755 tests/shell/testcases/maps/0012map_concat_0 create mode 100644 tests/shell/testcases/maps/dumps/0012map_concat_0.nft create mode 100644 tests/shell/testcases/optimizations/dumps/merge_nat_concat.nft create mode 100644 tests/shell/testcases/optimizations/dumps/single_anon_set_expr.nft create mode 100755 tests/shell/testcases/optimizations/merge_nat_concat create mode 100755 tests/shell/testcases/optimizations/single_anon_set_expr create mode 100755 tests/shell/testcases/sets/0067nat_interval_0 create mode 100644 tests/shell/testcases/sets/dumps/0067nat_interval_0.nft
Signature · 1 line
2.30.2