From f8fe3d56194f06bea9cd82d1d707064b202f5202 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 13 Aug 2025 14:32:11 +0200 Subject: [PATCH] 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 --- tests/py/inet/tcp.t.json | 31 ------------------------------- 1 file changed, 31 deletions(-) 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 [ { -- 2.47.3