]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: permit use of host-endian constant values in set lookup keys
authorFlorian Westphal <fw@strlen.de>
Wed, 14 Feb 2024 10:41:30 +0000 (11:41 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 14 Feb 2024 10:54:32 +0000 (11:54 +0100)
commit40afa4bb2c7c7c8d488a8d44830c6b72cd98c640
treed26d6745574b8008a24f95c4329f5d2ba5d971a6
parent2b24dd29c5fa1c7e4cf44f0753752d25106273a0
tests: shell: permit use of host-endian constant values in set lookup keys

extend an existing test case with the afl input to cover in/output.

A new test case is added to test linearization, delinearization and
matching

Fixes: c0080feb0d03 ("evaluate: permit use of host-endian constant values in set lookup keys")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/packetpath/dumps/set_lookups.nft [new file with mode: 0644]
tests/shell/testcases/packetpath/set_lookups [new file with mode: 0755]
tests/shell/testcases/sets/dumps/typeof_sets_concat.nft