]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: py: Drop duplicate test from inet/gretap.t
authorPhil Sutter <phil@nwl.cc>
Wed, 13 Aug 2025 12:23:30 +0000 (14:23 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 18 Aug 2025 20:57:09 +0000 (22:57 +0200)
The test was duplicate since day 1. The duplicate JSON equivalent was
added later (semi-automated), remove it as well.

Fixes: 39a68d9ffd25c ("tests: py: add gretap tests")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/inet/gretap.t
tests/py/inet/gretap.t.json

index cd7ee2158edefc2b0b6234c191bb10bb77730c3c..f88896fdede7fb3402601b966a5466dd211b8988 100644 (file)
@@ -15,7 +15,6 @@ gretap icmp type echo-reply;ok
 gretap ether saddr 62:87:4d:d6:19:05;ok
 gretap vlan id 10;ok
 gretap ip dscp 0x02;ok
-gretap ip dscp 0x02;ok
 gretap ip saddr . gretap ip daddr { 1.2.3.4 . 4.3.2.1 };ok
 
 gretap ip saddr set 1.2.3.4;fail
index 36fa97825f9a2f47f5e37b1d24306d7b10efc83d..6c16a083b849605a7a72a98f495b8d75842701de 100644 (file)
     }
 ]
 
-# gretap ip dscp 0x02
-[
-    {
-        "match": {
-            "left": {
-                "payload": {
-                    "field": "dscp",
-                    "protocol": "ip",
-                    "tunnel": "gretap"
-                }
-            },
-            "op": "==",
-            "right": 2
-        }
-    }
-]
-
 # gretap ip saddr . gretap ip daddr { 1.2.3.4 . 4.3.2.1 }
 [
     {