summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/chains/0040mark_shift_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/chains/0040mark_shift_0')
-rwxr-xr-xtests/shell/testcases/chains/0040mark_shift_011
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/shell/testcases/chains/0040mark_shift_0 b/tests/shell/testcases/chains/0040mark_shift_0
new file mode 100755
index 00000000..55447f0b
--- /dev/null
+++ b/tests/shell/testcases/chains/0040mark_shift_0
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e
+
+RULESET="
+ add table t
+ add chain t c { type filter hook output priority mangle; }
+ add rule t c oif lo ct mark set (meta mark | 0x10) << 8
+"
+
+$NFT --debug=eval -f - <<< "$RULESET"