]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: skip two bitwise tests if multi-register support isn't available
authorFlorian Westphal <fw@strlen.de>
Mon, 8 Sep 2025 09:06:35 +0000 (11:06 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 8 Sep 2025 09:08:28 +0000 (11:08 +0200)
These tests fail in case kernel requires bitwise RHS to be a constant
value.

Fixes: 67d2a8d4c86f ("tests: shell: add parser and packetpath test")
Reported-by: Yi Chen <yiche@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/bitwise/bitwise_in_sets_and_maps
tests/shell/testcases/packetpath/bitwise_with_map

index 4f5044f512aaacb5632e54fc4706fc190f56473f..e574f78e5cdbd0b1028b6edf7dfd59bec7098b96 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitwise_multireg)
 # NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitshift)
 
 set -e
index 33419e42f2f44481531c7c3f7e70c8eb83b83921..127b3413f177ee6499e57c402fe3ce9e0e682033 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+# NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitwise_multireg)
 # NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitshift)
 
 set -e