summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/map_lookup.nft
Commit message (Collapse)AuthorAgeFilesLines
* tests/shell: skip map query if kernel lacks supportFlorian Westphal2023-09-181-0/+11
On recent kernels one can perform a lookup in a map without a destination register (i.e., treat the map like a set -- pure existence check). Add a feature probe and work around the missing feature in typeof_maps_add_delete: do the test with a simplified ruleset, Indicate skipped even though a reduced test was run (earlier errors cause a failure) to not trigger dump validation error. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Thomas Haller <thaller@redhat.com>