diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-14 16:57:22 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-15 13:27:20 +0100 |
commit | 279654904d5186430588b475501b2ca0d3ab6517 (patch) | |
tree | 80a1267d78f39f523988266ca2a98914a56772ea /tests/shell/testcases/flowtable/0012flowtable_variable_0 | |
parent | 2f1050a6b30b41f4125ab6f0da7ea5255090ccce (diff) |
tests: shell: skip if kernel does not support flowtable counter
Check if kernel provides flowtable counter supports which is available
since 53c2b2899af7 ("netfilter: flowtable: add counter support").
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/flowtable/0012flowtable_variable_0')
-rwxr-xr-x | tests/shell/testcases/flowtable/0012flowtable_variable_0 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/flowtable/0012flowtable_variable_0 b/tests/shell/testcases/flowtable/0012flowtable_variable_0 index 080059d2..9c03820f 100755 --- a/tests/shell/testcases/flowtable/0012flowtable_variable_0 +++ b/tests/shell/testcases/flowtable/0012flowtable_variable_0 @@ -1,5 +1,7 @@ #!/bin/bash +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_flowtable_counter) + set -e iface_cleanup() { |