diff options
Diffstat (limited to 'tests/shell/testcases/bitwise/0040mark_binop_8')
-rwxr-xr-x | tests/shell/testcases/bitwise/0040mark_binop_8 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/shell/testcases/bitwise/0040mark_binop_8 b/tests/shell/testcases/bitwise/0040mark_binop_8 new file mode 100755 index 0000000..5e7bd28 --- /dev/null +++ b/tests/shell/testcases/bitwise/0040mark_binop_8 @@ -0,0 +1,13 @@ +#!/bin/bash + +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitshift) + +set -e + +RULESET=" + add table ip6 t + add chain ip6 t c { type filter hook output priority filter; } + add rule ip6 t c ct mark set ip6 dscp lshift 26 or 0x10 +" + +$NFT -f - <<< "$RULESET" |