diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-06 20:04:05 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-11 09:46:27 +0100 |
commit | aa6f521b427f0c5b2384f90599807ad35b400293 (patch) | |
tree | 91b136b37274616aea393f356aa2302329dcee2c /tests/shell/testcases/optimizations/ruleset | |
parent | f24f9b11a1e9701d0e428e692c99be4624e20b23 (diff) |
tests: shell: skip prerouting reject tests if kernel lacks support
Skip tests that require reject at prerouting hook.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/optimizations/ruleset')
-rwxr-xr-x | tests/shell/testcases/optimizations/ruleset | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/optimizations/ruleset b/tests/shell/testcases/optimizations/ruleset index ef2652db..2b2d80ff 100755 --- a/tests/shell/testcases/optimizations/ruleset +++ b/tests/shell/testcases/optimizations/ruleset @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_prerouting_reject) + RULESET="table inet uni { chain gtfo { reject with icmpx type host-unreachable |