]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: py: Drop duplicate test from inet/gre.t
authorPhil Sutter <phil@nwl.cc>
Wed, 13 Aug 2025 12:22:07 +0000 (14:22 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 18 Aug 2025 20:57:07 +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: c04ef8d104ec6 ("tests: py: add gre tests")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/inet/gre.t
tests/py/inet/gre.t.json

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