]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: rename and move bitwise test-cases
authorJeremy Sowden <jeremy@azazel.net>
Fri, 17 Mar 2023 09:16:50 +0000 (10:16 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 28 Mar 2023 08:26:34 +0000 (10:26 +0200)
commitad8546da23ecdccf31f8a77c8d7906fefd569bf5
tree3591d744bec49a84bdab60f779f0e770e54e5f91
parent8221d86e616bdd5e9828c3eefb7cfb9abc3d211a
tests: shell: rename and move bitwise test-cases

The `0040mark_shift_?` tests are testing not just shifts, but binops
more generally, so name them accordingly.

Move them to a new folder specifically for bitwise operations.

Change the priorities of the chains to match the type.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/shell/testcases/bitwise/0040mark_binop_0 [moved from tests/shell/testcases/chains/0040mark_shift_0 with 68% similarity]
tests/shell/testcases/bitwise/0040mark_binop_1 [moved from tests/shell/testcases/chains/0040mark_shift_1 with 70% similarity]
tests/shell/testcases/bitwise/dumps/0040mark_binop_0.nft [moved from tests/shell/testcases/chains/dumps/0040mark_shift_0.nft with 58% similarity]
tests/shell/testcases/bitwise/dumps/0040mark_binop_1.nft [moved from tests/shell/testcases/chains/dumps/0040mark_shift_1.nft with 64% similarity]