[nft PATCH 11/14] tests: py: Drop stale entries from ip6/{ct,meta}.t.json

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks like these were added by accident, fixed commit did not add these
test cases.

Fixes: 8221d86e616bd ("tests: py: add test-cases for ct and packet mark payload expressions")
Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 tests/py/ip6/ct.t.json   | 164 ---------------------------------------
 tests/py/ip6/meta.t.json |  58 --------------
 2 files changed, 222 deletions(-)

diff --git a/tests/py/ip6/ct.t.json b/tests/py/ip6/ct.t.json
index 2633c2b9433c0..6c1cf33e2dd69 100644
--- a/tests/py/ip6/ct.t.json
+++ b/tests/py/ip6/ct.t.json
@@ -1,167 +1,3 @@
-# ct mark set ip6 dscp lshift 2 or 0x10
-[
-    {
-        "mangle": {
-            "key": {
-                "ct": {
-                    "key": "mark"
-                }
-            },
-            "value": {
-                "|": [
-                    {
-                        "<<": [
-                            {
-                                "payload": {
-                                    "field": "dscp",
-                                    "protocol": "ip6"
-                                }
-                            },
-                            2
-                        ]
-                    },
-                    16
-                ]
-            }
-        }
-    }
-]
-
-# ct mark set ip6 dscp lshift 26 or 0x10
-[
-    {
-        "mangle": {
-            "key": {
-                "ct": {
-                    "key": "mark"
-                }
-            },
-            "value": {
-                "|": [
-                    {
-                        "<<": [
-                            {
-                                "payload": {
-                                    "field": "dscp",
-                                    "protocol": "ip6"
-                                }
-                            },
-                            26
-                        ]
-                    },
-                    16
-                ]
-            }
-        }
-    }
-]
-
-# ct mark set ip6 dscp << 2 | 0x10
-[
-    {
-        "mangle": {
-            "key": {
-                "ct": {
-                    "key": "mark"
-                }
-            },
-            "value": {
-                "|": [
-                    {
-                        "<<": [
-                            {
-                                "payload": {
-                                    "field": "dscp",
-                                    "protocol": "ip6"
-                                }
-                            },
-                            2
-                        ]
-                    },
-                    16
-                ]
-            }
-        }
-    }
-]
-
-# ct mark set ip6 dscp << 26 | 0x10
-[
-    {
-        "mangle": {
-            "key": {
-                "ct": {
-                    "key": "mark"
-                }
-            },
-            "value": {
-                "|": [
-                    {
-                        "<<": [
-                            {
-                                "payload": {
-                                    "field": "dscp",
-                                    "protocol": "ip6"
-                                }
-                            },
-                            26
-                        ]
-                    },
-                    16
-                ]
-            }
-        }
-    }
-]
-
-# ct mark set ip6 dscp | 0x04
-[
-    {
-        "mangle": {
-            "key": {
-                "ct": {
-                    "key": "mark"
-                }
-            },
-            "value": {
-                "|": [
-                    {
-                        "payload": {
-                            "field": "dscp",
-                            "protocol": "ip6"
-                        }
-                    },
-                    4
-                ]
-            }
-        }
-    }
-]
-
-# ct mark set ip6 dscp | 0xff000000
-[
-    {
-        "mangle": {
-            "key": {
-                "ct": {
-                    "key": "mark"
-                }
-            },
-            "value": {
-                "|": [
-                    {
-                        "payload": {
-                            "field": "dscp",
-                            "protocol": "ip6"
-                        }
-                    },
-                    4278190080
-                ]
-            }
-        }
-    }
-]
-
 # ct mark set ip6 dscp << 2 | 0x10
 [
     {
diff --git a/tests/py/ip6/meta.t.json b/tests/py/ip6/meta.t.json
index 1a2394d84ecda..87251f0a61a9d 100644
--- a/tests/py/ip6/meta.t.json
+++ b/tests/py/ip6/meta.t.json
@@ -195,64 +195,6 @@
     }
 ]
 
-# meta mark set ip6 dscp lshift 2 or 0x10
-[
-    {
-        "mangle": {
-            "key": {
-                "meta": {
-                    "key": "mark"
-                }
-            },
-            "value": {
-                "|": [
-                    {
-                        "<<": [
-                            {
-                                "payload": {
-                                    "field": "dscp",
-                                    "protocol": "ip6"
-                                }
-                            },
-                            2
-                        ]
-                    },
-                    16
-                ]
-            }
-        }
-    }
-]
-
-# meta mark set ip6 dscp lshift 26 or 0x10
-[
-    {
-        "mangle": {
-            "key": {
-                "meta": {
-                    "key": "mark"
-                }
-            },
-            "value": {
-                "|": [
-                    {
-                        "<<": [
-                            {
-                                "payload": {
-                                    "field": "dscp",
-                                    "protocol": "ip6"
-                                }
-                            },
-                            26
-                        ]
-                    },
-                    16
-                ]
-            }
-        }
-    }
-]
-
 # meta mark set ip6 dscp << 2 | 0x10
 [
     {
-- 
2.49.0





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux