From: Phil Sutter Date: Wed, 13 Aug 2025 13:50:54 +0000 (+0200) Subject: tests: py: Drop stale entries from ip6/{ct,meta}.t.json X-Git-Tag: v1.1.5~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3be0bbe9a5ba21a3f6e3baf051c3aaadc393c587;p=thirdparty%2Fnftables.git tests: py: Drop stale entries from ip6/{ct,meta}.t.json Looks like these were added by accident, fixed commit did not add these test cases. Fixes: 8221d86e616bd ("tests: py: add test-cases for ct and packet mark payload expressions") Signed-off-by: Phil Sutter Reviewed-by: Pablo Neira Ayuso --- diff --git a/tests/py/ip6/ct.t.json b/tests/py/ip6/ct.t.json index 2633c2b9..6c1cf33e 100644 --- a/tests/py/ip6/ct.t.json +++ b/tests/py/ip6/ct.t.json @@ -1,167 +1,3 @@ -# ct mark set ip6 dscp lshift 2 or 0x10 -[ - { - "mangle": { - "key": { - "ct": { - "key": "mark" - } - }, - "value": { - "|": [ - { - "<<": [ - { - "payload": { - "field": "dscp", - "protocol": "ip6" - } - }, - 2 - ] - }, - 16 - ] - } - } - } -] - -# ct mark set ip6 dscp lshift 26 or 0x10 -[ - { - "mangle": { - "key": { - "ct": { - "key": "mark" - } - }, - "value": { - "|": [ - { - "<<": [ - { - "payload": { - "field": "dscp", - "protocol": "ip6" - } - }, - 26 - ] - }, - 16 - ] - } - } - } -] - -# ct mark set ip6 dscp << 2 | 0x10 -[ - { - "mangle": { - "key": { - "ct": { - "key": "mark" - } - }, - "value": { - "|": [ - { - "<<": [ - { - "payload": { - "field": "dscp", - "protocol": "ip6" - } - }, - 2 - ] - }, - 16 - ] - } - } - } -] - -# ct mark set ip6 dscp << 26 | 0x10 -[ - { - "mangle": { - "key": { - "ct": { - "key": "mark" - } - }, - "value": { - "|": [ - { - "<<": [ - { - "payload": { - "field": "dscp", - "protocol": "ip6" - } - }, - 26 - ] - }, - 16 - ] - } - } - } -] - -# ct mark set ip6 dscp | 0x04 -[ - { - "mangle": { - "key": { - "ct": { - "key": "mark" - } - }, - "value": { - "|": [ - { - "payload": { - "field": "dscp", - "protocol": "ip6" - } - }, - 4 - ] - } - } - } -] - -# ct mark set ip6 dscp | 0xff000000 -[ - { - "mangle": { - "key": { - "ct": { - "key": "mark" - } - }, - "value": { - "|": [ - { - "payload": { - "field": "dscp", - "protocol": "ip6" - } - }, - 4278190080 - ] - } - } - } -] - # ct mark set ip6 dscp << 2 | 0x10 [ { diff --git a/tests/py/ip6/meta.t.json b/tests/py/ip6/meta.t.json index 1a2394d8..87251f0a 100644 --- a/tests/py/ip6/meta.t.json +++ b/tests/py/ip6/meta.t.json @@ -195,64 +195,6 @@ } ] -# meta mark set ip6 dscp lshift 2 or 0x10 -[ - { - "mangle": { - "key": { - "meta": { - "key": "mark" - } - }, - "value": { - "|": [ - { - "<<": [ - { - "payload": { - "field": "dscp", - "protocol": "ip6" - } - }, - 2 - ] - }, - 16 - ] - } - } - } -] - -# meta mark set ip6 dscp lshift 26 or 0x10 -[ - { - "mangle": { - "key": { - "meta": { - "key": "mark" - } - }, - "value": { - "|": [ - { - "<<": [ - { - "payload": { - "field": "dscp", - "protocol": "ip6" - } - }, - 26 - ] - }, - 16 - ] - } - } - } -] - # meta mark set ip6 dscp << 2 | 0x10 [ {