]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: py: fix WARNING with JSON 1.0.6.y
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Aug 2025 19:52:31 +0000 (21:52 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 12 Aug 2025 21:42:54 +0000 (23:42 +0200)
backport commit c4c740117f6fbf39dd67dd87635ea8b497718ad7 upstream.

To remove the following WARNING when running JSON tests:

WARNING: Recorded JSON output matches input for: meter acct_out size 4096 { meta iif . ip6 saddr timeout 600s counter }
WARNING: Recorded JSON output matches input for: meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter }

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/ip6/flowtable.t.json.output [deleted file]

diff --git a/tests/py/ip6/flowtable.t.json.output b/tests/py/ip6/flowtable.t.json.output
deleted file mode 100644 (file)
index d0b3a95..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-# meter acct_out size 4096 { meta iif . ip6 saddr timeout 600s counter }
-[
-    {
-        "meter": {
-            "key": {
-                "elem": {
-                    "timeout": 600,
-                    "val": {
-                        "concat": [
-                            {
-                                "meta": { "key": "iif" }
-                            },
-                            {
-                                "payload": {
-                                    "field": "saddr",
-                                    "protocol": "ip6"
-                                }
-                            }
-                        ]
-                    }
-                }
-            },
-            "name": "acct_out",
-            "size": 4096,
-            "stmt": {
-                "counter": null
-            }
-        }
-    }
-]
-
-# meter acct_out size 12345 { ip6 saddr . meta iif timeout 600s counter }
-[
-    {
-        "meter": {
-            "key": {
-                "elem": {
-                    "timeout": 600,
-                    "val": {
-                        "concat": [
-                            {
-                                "payload": {
-                                    "field": "saddr",
-                                    "protocol": "ip6"
-                                }
-                            },
-                            {
-                                "meta": { "key": "iif" }
-                            }
-                        ]
-                    }
-                }
-            },
-            "name": "acct_out",
-            "size": 12345,
-            "stmt": {
-                "counter": null
-            }
-        }
-    }
-]
-