From: Florian Westphal Date: Tue, 5 Aug 2025 19:40:15 +0000 (+0200) Subject: tests: shell: add parser and packetpath test X-Git-Tag: v1.1.5~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67d2a8d4c86faf68388563282eb4fbe311a7b2a1;p=thirdparty%2Fnftables.git tests: shell: add parser and packetpath test One to validate parsing, and one to test that packets match the expected mapping. omits json file because of: internal:0:0-0: Error: Expression type payload not allowed in context (RHS, STMT). i.e. there is more work to be done on json side to support this. Signed-off-by: Florian Westphal --- diff --git a/tests/shell/testcases/bitwise/bitwise_in_sets_and_maps b/tests/shell/testcases/bitwise/bitwise_in_sets_and_maps new file mode 100755 index 00000000..4f5044f5 --- /dev/null +++ b/tests/shell/testcases/bitwise/bitwise_in_sets_and_maps @@ -0,0 +1,27 @@ +#!/bin/bash + +# NFT_TEST_REQUIRES(NFT_TEST_HAVE_bitshift) + +set -e + +$NFT -f - <