Skip to contentSkip to conversation

tests: py: revert dccp python tests

PATCH In review Florian Westphal 2 participants 2 messages Aug 11, 2025 netfilter

lore
Share & tools
lore

Florian Westphal

author maintainer
#0 lore raw

PATCH 1/1 tests: py: revert dccp python tests

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.

---
 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(-)
tests/py/inet/dccp.t +0 -5
index 99cddbe77c5b..90142f53254e 100644
@@ -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
tests/py/inet/dccp.t.json +0 -44

47 lines not on this page · raw message

tests/py/inet/dccp.t.payload +0 -14
index 7cb9721c1cd8..b5edfa5daed9 100644
@@ -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 ]
Signature · 1 line
2.49.1