]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: add bit-shift tests.
authorJeremy Sowden <jeremy@azazel.net>
Mon, 3 Feb 2020 11:20:21 +0000 (11:20 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 7 Feb 2020 15:57:30 +0000 (16:57 +0100)
commit1f24768c93346bfb70214fcba65a1dcb3c2e7d46
tree9af090c873a86f22aa6c3e1892954ad75d0c6899
parentaae18ff0b2aa18091c54be5873ddf1de97cd24ad
tests: shell: add bit-shift tests.

Add a couple of shell test-cases for setting the CT mark to a bitwise
expression derived from the packet mark and vice versa.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/chains/0040mark_shift_0 [new file with mode: 0755]
tests/shell/testcases/chains/0040mark_shift_1 [new file with mode: 0755]
tests/shell/testcases/chains/dumps/0040mark_shift_0.nft [new file with mode: 0644]
tests/shell/testcases/chains/dumps/0040mark_shift_1.nft [new file with mode: 0644]