netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nft PATCH] tests: shell: Fix one json-nft dump for reordered output
@ 2024-03-20 14:57 Phil Sutter
  2024-03-20 15:00 ` Phil Sutter
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Sutter @ 2024-03-20 14:57 UTC (permalink / raw)
  To: netfilter-devel

Missed this one when regenerating all dumps.

Fixes: 2a0fe52eca32a ("tests: shell: Regenerate all json-nft dumps")
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 .../testcases/sets/dumps/meter_0.json-nft     | 32 +++++++++----------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/tests/shell/testcases/sets/dumps/meter_0.json-nft b/tests/shell/testcases/sets/dumps/meter_0.json-nft
index 71e83b19f1360..c318e4f269871 100644
--- a/tests/shell/testcases/sets/dumps/meter_0.json-nft
+++ b/tests/shell/testcases/sets/dumps/meter_0.json-nft
@@ -14,6 +14,14 @@
         "handle": 0
       }
     },
+    {
+      "chain": {
+        "family": "ip6",
+        "table": "test",
+        "name": "test",
+        "handle": 0
+      }
+    },
     {
       "set": {
         "family": "ip6",
@@ -48,14 +56,6 @@
         ]
       }
     },
-    {
-      "chain": {
-        "family": "ip6",
-        "table": "test",
-        "name": "test",
-        "handle": 0
-      }
-    },
     {
       "rule": {
         "family": "ip6",
@@ -145,6 +145,14 @@
         "handle": 0
       }
     },
+    {
+      "chain": {
+        "family": "ip",
+        "table": "test",
+        "name": "test",
+        "handle": 0
+      }
+    },
     {
       "set": {
         "family": "ip",
@@ -159,14 +167,6 @@
         ]
       }
     },
-    {
-      "chain": {
-        "family": "ip",
-        "table": "test",
-        "name": "test",
-        "handle": 0
-      }
-    },
     {
       "rule": {
         "family": "ip",
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [nft PATCH] tests: shell: Fix one json-nft dump for reordered output
  2024-03-20 14:57 [nft PATCH] tests: shell: Fix one json-nft dump for reordered output Phil Sutter
@ 2024-03-20 15:00 ` Phil Sutter
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Sutter @ 2024-03-20 15:00 UTC (permalink / raw)
  To: netfilter-devel

On Wed, Mar 20, 2024 at 03:57:46PM +0100, Phil Sutter wrote:
> Missed this one when regenerating all dumps.
> 
> Fixes: 2a0fe52eca32a ("tests: shell: Regenerate all json-nft dumps")
> Signed-off-by: Phil Sutter <phil@nwl.cc>

Patch applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-20 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20 14:57 [nft PATCH] tests: shell: Fix one json-nft dump for reordered output Phil Sutter
2024-03-20 15:00 ` Phil Sutter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).