These fail for kernels with 'CONFIG_NFT_EXTHDR_DCCP is not set', remove the tests in anticipation of a future removal from both kernel and nftables. Signed-off-by: Florian Westphal --- tests/py/inet/dccp.t | 5 ---- tests/py/inet/dccp.t.json | 44 ------------------------------------ tests/py/inet/dccp.t.payload | 14 ------------ 3 files changed, 63 deletions(-) diff --git a/tests/py/inet/dccp.t b/tests/py/inet/dccp.t index 99cddbe77c5b..90142f53254e 100644 --- a/tests/py/inet/dccp.t +++ b/tests/py/inet/dccp.t @@ -23,8 +23,3 @@ dccp type {request, response, data, ack, dataack, closereq, close, reset, sync, dccp type != {request, response, data, ack, dataack, closereq, close, reset, sync, syncack};ok dccp type request;ok dccp type != request;ok - -dccp option 0 exists;ok -dccp option 43 missing;ok -dccp option 255 exists;ok -dccp option 256 exists;fail diff --git a/tests/py/inet/dccp.t.json b/tests/py/inet/dccp.t.json index 9f47e97b8711..806ef5eefca3 100644 --- a/tests/py/inet/dccp.t.json +++ b/tests/py/inet/dccp.t.json @@ -230,47 +230,3 @@ } ] -# dccp option 0 exists -[ - { - "match": { - "left": { - "dccp option": { - "type": 0 - } - }, - "op": "==", - "right": true - } - } -] - -# dccp option 43 missing -[ - { - "match": { - "left": { - "dccp option": { - "type": 43 - } - }, - "op": "==", - "right": false - } - } -] - -# dccp option 255 exists -[ - { - "match": { - "left": { - "dccp option": { - "type": 255 - } - }, - "op": "==", - "right": true - } - } -] diff --git a/tests/py/inet/dccp.t.payload b/tests/py/inet/dccp.t.payload index 7cb9721c1cd8..b5edfa5daed9 100644 --- a/tests/py/inet/dccp.t.payload +++ b/tests/py/inet/dccp.t.payload @@ -97,17 +97,3 @@ inet test-inet input [ bitwise reg 1 = ( reg 1 & 0x0000001e ) ^ 0x00000000 ] [ cmp neq reg 1 0x00000000 ] -# dccp option 0 exists -ip test-inet input - [ exthdr load 1b @ 0 + 0 present => reg 1 ] - [ cmp eq reg 1 0x00000001 ] - -# dccp option 43 missing -ip test-inet input - [ exthdr load 1b @ 43 + 0 present => reg 1 ] - [ cmp eq reg 1 0x00000000 ] - -# dccp option 255 exists -ip test-inet input - [ exthdr load 1b @ 255 + 0 present => reg 1 ] - [ cmp eq reg 1 0x00000001 ] -- 2.49.1