summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/listing/dumps
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-03-08 20:22:37 +0100
committerPhil Sutter <phil@nwl.cc>2024-03-19 18:24:47 +0100
commit2a0fe52eca32acc8927c97e164b5e79337073ceb (patch)
treeaaf1bd36c183a90f15adb4feef043761b6f4b909 /tests/shell/testcases/listing/dumps
parent38f04196ebef64a6672c55c27a6afe9af811c8f7 (diff)
tests: shell: Regenerate all json-nft dumps
Ordering of 'nft -j list ruleset' output has changed, Regenerate existing json-nft dumps. No functional change intended, merely the position of chain objects should have moved up in the "nftables" array. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/shell/testcases/listing/dumps')
-rw-r--r--tests/shell/testcases/listing/dumps/0013objects_0.json-nft16
-rw-r--r--tests/shell/testcases/listing/dumps/0021ruleset_json_terse_0.json-nft16
-rw-r--r--tests/shell/testcases/listing/dumps/0022terse_0.json-nft24
3 files changed, 28 insertions, 28 deletions
diff --git a/tests/shell/testcases/listing/dumps/0013objects_0.json-nft b/tests/shell/testcases/listing/dumps/0013objects_0.json-nft
index feb32b1b..830aad85 100644
--- a/tests/shell/testcases/listing/dumps/0013objects_0.json-nft
+++ b/tests/shell/testcases/listing/dumps/0013objects_0.json-nft
@@ -15,6 +15,14 @@
}
},
{
+ "chain": {
+ "family": "ip",
+ "table": "test",
+ "name": "input",
+ "handle": 0
+ }
+ },
+ {
"quota": {
"family": "ip",
"name": "https-quota",
@@ -62,14 +70,6 @@
"size": 12,
"l3proto": "ip"
}
- },
- {
- "chain": {
- "family": "ip",
- "table": "test",
- "name": "input",
- "handle": 0
- }
}
]
}
diff --git a/tests/shell/testcases/listing/dumps/0021ruleset_json_terse_0.json-nft b/tests/shell/testcases/listing/dumps/0021ruleset_json_terse_0.json-nft
index e9bc05ac..d1131bb4 100644
--- a/tests/shell/testcases/listing/dumps/0021ruleset_json_terse_0.json-nft
+++ b/tests/shell/testcases/listing/dumps/0021ruleset_json_terse_0.json-nft
@@ -15,6 +15,14 @@
}
},
{
+ "chain": {
+ "family": "ip",
+ "table": "test",
+ "name": "c",
+ "handle": 0
+ }
+ },
+ {
"set": {
"family": "ip",
"name": "s",
@@ -26,14 +34,6 @@
"192.168.3.5"
]
}
- },
- {
- "chain": {
- "family": "ip",
- "table": "test",
- "name": "c",
- "handle": 0
- }
}
]
}
diff --git a/tests/shell/testcases/listing/dumps/0022terse_0.json-nft b/tests/shell/testcases/listing/dumps/0022terse_0.json-nft
index db19d0c3..bd6383da 100644
--- a/tests/shell/testcases/listing/dumps/0022terse_0.json-nft
+++ b/tests/shell/testcases/listing/dumps/0022terse_0.json-nft
@@ -15,6 +15,18 @@
}
},
{
+ "chain": {
+ "family": "inet",
+ "table": "filter",
+ "name": "input",
+ "handle": 0,
+ "type": "filter",
+ "hook": "prerouting",
+ "prio": 0,
+ "policy": "accept"
+ }
+ },
+ {
"set": {
"family": "inet",
"name": "example",
@@ -31,18 +43,6 @@
}
},
{
- "chain": {
- "family": "inet",
- "table": "filter",
- "name": "input",
- "handle": 0,
- "type": "filter",
- "hook": "prerouting",
- "prio": 0,
- "policy": "accept"
- }
- },
- {
"rule": {
"family": "inet",
"table": "filter",