summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/flowtable
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/flowtable
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/flowtable')
-rw-r--r--tests/shell/testcases/flowtable/dumps/0001flowtable_0.json-nft16
-rw-r--r--tests/shell/testcases/flowtable/dumps/0005delete_in_use_1.json-nft16
-rw-r--r--tests/shell/testcases/flowtable/dumps/0014addafterdelete_0.json-nft22
3 files changed, 27 insertions, 27 deletions
diff --git a/tests/shell/testcases/flowtable/dumps/0001flowtable_0.json-nft b/tests/shell/testcases/flowtable/dumps/0001flowtable_0.json-nft
index 090c9744..4d15fe3a 100644
--- a/tests/shell/testcases/flowtable/dumps/0001flowtable_0.json-nft
+++ b/tests/shell/testcases/flowtable/dumps/0001flowtable_0.json-nft
@@ -15,6 +15,14 @@
}
},
{
+ "chain": {
+ "family": "inet",
+ "table": "t",
+ "name": "c",
+ "handle": 0
+ }
+ },
+ {
"flowtable": {
"family": "inet",
"name": "f",
@@ -26,14 +34,6 @@
}
},
{
- "chain": {
- "family": "inet",
- "table": "t",
- "name": "c",
- "handle": 0
- }
- },
- {
"rule": {
"family": "inet",
"table": "t",
diff --git a/tests/shell/testcases/flowtable/dumps/0005delete_in_use_1.json-nft b/tests/shell/testcases/flowtable/dumps/0005delete_in_use_1.json-nft
index db73a530..302502dc 100644
--- a/tests/shell/testcases/flowtable/dumps/0005delete_in_use_1.json-nft
+++ b/tests/shell/testcases/flowtable/dumps/0005delete_in_use_1.json-nft
@@ -15,6 +15,14 @@
}
},
{
+ "chain": {
+ "family": "ip",
+ "table": "x",
+ "name": "x",
+ "handle": 0
+ }
+ },
+ {
"flowtable": {
"family": "ip",
"name": "y",
@@ -26,14 +34,6 @@
}
},
{
- "chain": {
- "family": "ip",
- "table": "x",
- "name": "x",
- "handle": 0
- }
- },
- {
"rule": {
"family": "ip",
"table": "x",
diff --git a/tests/shell/testcases/flowtable/dumps/0014addafterdelete_0.json-nft b/tests/shell/testcases/flowtable/dumps/0014addafterdelete_0.json-nft
index 79707ca3..471ba5be 100644
--- a/tests/shell/testcases/flowtable/dumps/0014addafterdelete_0.json-nft
+++ b/tests/shell/testcases/flowtable/dumps/0014addafterdelete_0.json-nft
@@ -15,17 +15,6 @@
}
},
{
- "flowtable": {
- "family": "inet",
- "name": "f",
- "table": "filter",
- "handle": 0,
- "hook": "ingress",
- "prio": -1,
- "dev": "lo"
- }
- },
- {
"chain": {
"family": "inet",
"table": "filter",
@@ -38,6 +27,17 @@
}
},
{
+ "flowtable": {
+ "family": "inet",
+ "name": "f",
+ "table": "filter",
+ "handle": 0,
+ "hook": "ingress",
+ "prio": -1,
+ "dev": "lo"
+ }
+ },
+ {
"rule": {
"family": "inet",
"table": "filter",