[nft PATCH 0/6] A set of patches resulting from running tests/shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series is the result of me trying to get all tests in tests/shell
to pass. Sadly I wasn't fully successful, these two still fail:

- testcases/sets/0028autoselect_0
- testcases/sets/0031set_timeout_size_0

I had a look at the latter, the problem seems to be that nft_set_hash.c
in kernel prefers nft_hash_fast_ops for four byte keys ignoring the fact
that NFT_SET_TIMEOUT support is required.

Phil Sutter (6):
  Support 'nft -f -' to read from stdin
  tests/shell: Fix dump of chains/0016delete_handle_0
  tests/shell: Fix flowtable test cases
  flowtable: Make parsing a little more robust
  tests/shell: Fix sporadic fail of include/0007glob_double_0
  tests/shell: Allow to specify multiple testcases

 doc/nft.xml                                        |  2 +-
 src/evaluate.c                                     |  6 +++++
 src/expression.c                                   |  2 +-
 src/libnftables.c                                  |  3 +++
 tests/shell/run-tests.sh                           | 10 +++++----
 tests/shell/testcases/cache/0001_cache_handling_0  | 16 ++++---------
 tests/shell/testcases/cache/0002_interval_0        | 13 ++---------
 .../testcases/chains/dumps/0016delete_handle_0.nft |  6 -----
 tests/shell/testcases/flowtable/0001flowtable_0    | 14 ++----------
 .../testcases/flowtable/0002create_flowtable_0     |  6 ++---
 .../testcases/flowtable/0003add_after_flush_0      |  4 ++--
 .../testcases/flowtable/0004delete_after_add0      |  6 -----
 .../testcases/flowtable/0004delete_after_add_0     |  6 +++++
 .../shell/testcases/flowtable/0005delete_in_use_1  |  2 +-
 tests/shell/testcases/flowtable/0006segfault_0     | 14 ++++++++++++
 .../testcases/flowtable/dumps/0001flowtable_0.nft  |  2 +-
 tests/shell/testcases/import/vm_json_import_0      | 16 +++----------
 tests/shell/testcases/include/0007glob_double_0    | 26 ++++++----------------
 .../testcases/include/dumps/0007glob_double_0.nft  |  4 ++--
 .../testcases/maps/0006interval_map_overlap_0      | 19 ++++------------
 .../shell/testcases/maps/0007named_ifname_dtype_0  | 11 +--------
 tests/shell/testcases/netns/0001nft-f_0            | 11 +--------
 tests/shell/testcases/netns/0003many_0             | 12 +---------
 tests/shell/testcases/nft-f/0001define_slash_0     | 14 +++---------
 tests/shell/testcases/nft-f/0002rollback_rule_0    | 14 ++----------
 tests/shell/testcases/nft-f/0003rollback_jump_0    | 14 ++----------
 tests/shell/testcases/nft-f/0004rollback_set_0     | 14 ++----------
 tests/shell/testcases/nft-f/0005rollback_map_0     | 14 ++----------
 tests/shell/testcases/nft-f/0006action_object_0    | 25 +++++++--------------
 .../nft-f/0007action_object_set_segfault_1         | 14 +++---------
 tests/shell/testcases/nft-f/0008split_tables_0     | 11 +--------
 tests/shell/testcases/nft-f/0009variable_0         | 11 +--------
 tests/shell/testcases/nft-f/0010variable_0         | 11 +--------
 .../shell/testcases/nft-f/0012different_defines_0  | 14 +++---------
 tests/shell/testcases/nft-f/0013defines_1          | 14 +++---------
 tests/shell/testcases/nft-f/0014defines_1          | 14 +++---------
 tests/shell/testcases/nft-f/0015defines_1          | 14 +++---------
 tests/shell/testcases/nft-f/0016redefines_1        | 14 +++---------
 tests/shell/testcases/sets/0001named_interval_0    | 14 +++---------
 .../shell/testcases/sets/0008create_verdict_map_0  | 14 +++---------
 .../sets/0014malformed_set_is_not_defined_0        | 14 +++---------
 tests/shell/testcases/sets/0015rulesetflush_0      | 16 ++++---------
 tests/shell/testcases/sets/0021nesting_0           | 11 +--------
 .../testcases/sets/0022type_selective_flush_0      | 17 ++++----------
 tests/shell/testcases/sets/0024named_objects_0     | 14 +++---------
 tests/shell/testcases/sets/0026named_limit_0       | 14 +++---------
 tests/shell/testcases/sets/0027ipv6_maps_ipv4_0    | 14 +++---------
 .../shell/testcases/sets/0029named_ifname_dtype_0  | 11 +--------
 tests/shell/testcases/sets/0031set_timeout_size_0  | 14 +++---------
 tests/shell/testcases/transactions/0001table_0     | 11 +--------
 tests/shell/testcases/transactions/0002table_0     | 11 +--------
 tests/shell/testcases/transactions/0003table_0     | 11 +--------
 tests/shell/testcases/transactions/0010chain_0     | 11 +--------
 tests/shell/testcases/transactions/0011chain_0     | 11 +--------
 tests/shell/testcases/transactions/0012chain_0     | 11 +--------
 tests/shell/testcases/transactions/0013chain_0     | 11 +--------
 tests/shell/testcases/transactions/0014chain_1     | 11 +--------
 tests/shell/testcases/transactions/0020rule_0      | 11 +--------
 tests/shell/testcases/transactions/0021rule_0      | 11 +--------
 tests/shell/testcases/transactions/0022rule_1      | 11 +--------
 tests/shell/testcases/transactions/0023rule_1      | 11 +--------
 tests/shell/testcases/transactions/0030set_0       | 11 +--------
 tests/shell/testcases/transactions/0031set_0       | 11 +--------
 tests/shell/testcases/transactions/0032set_0       | 11 +--------
 tests/shell/testcases/transactions/0033set_0       | 11 +--------
 tests/shell/testcases/transactions/0034set_0       | 11 +--------
 tests/shell/testcases/transactions/0035set_0       | 11 +--------
 tests/shell/testcases/transactions/0036set_1       | 11 +--------
 tests/shell/testcases/transactions/0037set_0       | 11 +--------
 tests/shell/testcases/transactions/0038set_0       | 11 +--------
 tests/shell/testcases/transactions/0039set_0       | 11 +--------
 tests/shell/testcases/transactions/0040set_0       | 14 ++----------
 72 files changed, 166 insertions(+), 666 deletions(-)
 delete mode 100755 tests/shell/testcases/flowtable/0004delete_after_add0
 create mode 100755 tests/shell/testcases/flowtable/0004delete_after_add_0
 create mode 100755 tests/shell/testcases/flowtable/0006segfault_0

-- 
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux