8abe71f862e6 ("tests: py: Warn if recorded JSON output matches the input") adds a warning on duplicated JSON outputs. Remove them when running tests with -j: WARNING: Recorded JSON output matches input for: icmp code { 2, 4, 54, 33, 56} Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- tests/py/ip/icmp.t.json.output | 24 ------------ tests/py/ip6/icmpv6.t.json.output | 62 ------------------------------- 2 files changed, 86 deletions(-) diff --git a/tests/py/ip/icmp.t.json.output b/tests/py/ip/icmp.t.json.output index 52fd6016e116..d79e72b59669 100644 --- a/tests/py/ip/icmp.t.json.output +++ b/tests/py/ip/icmp.t.json.output @@ -1,27 +1,3 @@ -# icmp code { 2, 4, 54, 33, 56} -[ - { - "match": { - "left": { - "payload": { - "field": "code", - "protocol": "icmp" - } - }, - "op": "==", - "right": { - "set": [ - 2, - 4, - 33, - 54, - 56 - ] - } - } - } -] - # icmp id 1245 log [ { diff --git a/tests/py/ip6/icmpv6.t.json.output b/tests/py/ip6/icmpv6.t.json.output index f29b346c0c9b..5d33780ee82b 100644 --- a/tests/py/ip6/icmpv6.t.json.output +++ b/tests/py/ip6/icmpv6.t.json.output @@ -93,68 +93,6 @@ } ] -# icmpv6 code 4 -[ - { - "match": { - "left": { - "payload": { - "field": "code", - "protocol": "icmpv6" - } - }, - "op": "==", - "right": 4 - } - } -] - -# icmpv6 code 3-66 -[ - { - "match": { - "left": { - "payload": { - "field": "code", - "protocol": "icmpv6" - } - }, - "op": "==", - "right": { - "range": [ - 3, - 66 - ] - } - } - } -] - -# icmpv6 code {5, 6, 7} accept -[ - { - "match": { - "left": { - "payload": { - "field": "code", - "protocol": "icmpv6" - } - }, - "op": "==", - "right": { - "set": [ - 5, - 6, - 7 - ] - } - } - }, - { - "accept": null - } -] - # icmpv6 code { 3-66} [ { -- 2.30.2