From: Phil Sutter Date: Wed, 13 Aug 2025 12:32:11 +0000 (+0200) Subject: tests: py: Drop stale entry from inet/tcp.t.json X-Git-Tag: v1.1.5~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8fe3d56194f06bea9cd82d1d707064b202f5202;p=thirdparty%2Fnftables.git tests: py: Drop stale entry from inet/tcp.t.json The test was changed but JSON equivalents not updated. Commit c0b685951fabb ("json: fix parse of flagcmp expression") then added an equivalent matching the changed test, so just drop the old one. Fixes: c3d57114f119b ("parser_bison: add shortcut syntax for matching flags without binary operations") Signed-off-by: Phil Sutter Reviewed-by: Pablo Neira Ayuso --- diff --git a/tests/py/inet/tcp.t.json b/tests/py/inet/tcp.t.json index 28dd4341..88c6c59d 100644 --- a/tests/py/inet/tcp.t.json +++ b/tests/py/inet/tcp.t.json @@ -910,37 +910,6 @@ } ] -# tcp flags & (syn|fin) == (syn|fin) -[ - { - "match": { - "left": { - "&": [ - { - "payload": { - "field": "flags", - "protocol": "tcp" - } - }, - { - "|": [ - "syn", - "fin" - ] - } - ] - }, - "op": "==", - "right": { - "|": [ - "syn", - "fin" - ] - } - } - } -] - # tcp flags & (fin | syn | rst | psh | ack | urg | ecn | cwr) == fin | syn | rst | psh | ack | urg | ecn | cwr [ {