Skip to contentSkip to conversation

tests: py: remove netdev coverage in ip/ip_tcp.t

PATCH New Pablo Neira Ayuso 1 participant 1 message Nov 12, 2021 netfilter

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 tests: py: remove netdev coverage in ip/ip_tcp.t

The following tests shows a warning in the netdev family:

ip/ip_tcp.t: WARNING: line 9: 'add rule netdev test-netdev ingress ip protocol tcp tcp dport 22': 'tcp dport 22' mismatches 'ip protocol 6 tcp dport 22'

'ip protocol tcp' can be removed in the ip family, but not in netdev.

This test is specific of the ip family, remove the netdev lines.

Fixes 510c4fad7e78 ("src: Support netdev egress hook")
---
 tests/py/ip/ip_tcp.t                |  3 -
 tests/py/ip/ip_tcp.t.payload.netdev | 93 -----------------------------
 2 files changed, 96 deletions(-)
 delete mode 100644 tests/py/ip/ip_tcp.t.payload.netdev
tests/py/ip/ip_tcp.t +0 -3
index 646b0ca50207..ff398aa6c4c3 100644
@@ -1,9 +1,6 @@
 :input;type filter hook input priority 0
-:ingress;type filter hook ingress device lo priority 0
-:egress;type filter hook egress device lo priority 0
 
 *ip;test-ip;input
-*netdev;test-netdev;ingress,egress
 
 # can remove ip dependency -- its redundant in ip family
 ip protocol tcp tcp dport 22;ok;tcp dport 22
tests/py/ip/ip_tcp.t.payload.netdev deleted +0 -93

93 lines not on this page · raw message

Signature · 1 line
2.30.2