summaryrefslogtreecommitdiffstats
path: root/tests/shell/features/bitshift.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-18 12:28:19 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-18 13:08:44 +0200
commit885845468408a816839e85f5533e236ff796d45e (patch)
tree964e9e938805f3f9f9296bab65a10f9bdbd4a883 /tests/shell/features/bitshift.nft
parentad86eb24be368a9f8fc44e1057ee75394c560adf (diff)
tests/shell: skip bitshift tests if kernel lacks support
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'tests/shell/features/bitshift.nft')
-rw-r--r--tests/shell/features/bitshift.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/features/bitshift.nft b/tests/shell/features/bitshift.nft
new file mode 100644
index 00000000..7f9ccb64
--- /dev/null
+++ b/tests/shell/features/bitshift.nft
@@ -0,0 +1,7 @@
+# 567d746b55bc ("netfilter: bitwise: add support for shifts.")
+# v5.6-rc1~151^2~73^2
+table ip t {
+ chain c {
+ meta mark set meta mark << 2
+ }
+}