summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/flowtable/0014addafterdelete_0
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-11-20 13:54:03 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-11-21 15:44:04 +0100
commit566182cd8259cfc22f9fd949e9ad3c15ed6a7945 (patch)
tree7448bceaf20af313379b1231da21459995e74011 /tests/shell/testcases/flowtable/0014addafterdelete_0
parent256904b1ded6314974dddc75726149f7b19d33f4 (diff)
tests: shell: adjust add-after-delete flowtable for older kernels
Remove counter from flowtable, older kernels (<=5.4) do not support this in testcases/flowtable/0013addafterdelete_0 so this bug is still covered. Skip testcases/flowtable/0014addafterdelete_0 if flowtable counter support is not available. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/flowtable/0014addafterdelete_0')
-rwxr-xr-xtests/shell/testcases/flowtable/0014addafterdelete_02
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shell/testcases/flowtable/0014addafterdelete_0 b/tests/shell/testcases/flowtable/0014addafterdelete_0
index 6a24c4b9..1ac65104 100755
--- a/tests/shell/testcases/flowtable/0014addafterdelete_0
+++ b/tests/shell/testcases/flowtable/0014addafterdelete_0
@@ -1,5 +1,7 @@
#!/bin/bash
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_flowtable_counter)
+
set -e
RULESET='table inet filter {