diff options
author | Phil Sutter <phil@nwl.cc> | 2024-03-08 20:22:37 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-03-19 18:24:47 +0100 |
commit | 2a0fe52eca32acc8927c97e164b5e79337073ceb (patch) | |
tree | aaf1bd36c183a90f15adb4feef043761b6f4b909 /tests/shell/testcases/json | |
parent | 38f04196ebef64a6672c55c27a6afe9af811c8f7 (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/json')
-rw-r--r-- | tests/shell/testcases/json/dumps/0001set_statements_0.json-nft | 24 | ||||
-rw-r--r-- | tests/shell/testcases/json/dumps/0005secmark_objref_0.json-nft | 18 |
2 files changed, 21 insertions, 21 deletions
diff --git a/tests/shell/testcases/json/dumps/0001set_statements_0.json-nft b/tests/shell/testcases/json/dumps/0001set_statements_0.json-nft index 3830b845..91db43e2 100644 --- a/tests/shell/testcases/json/dumps/0001set_statements_0.json-nft +++ b/tests/shell/testcases/json/dumps/0001set_statements_0.json-nft @@ -15,6 +15,18 @@ } }, { + "chain": { + "family": "ip", + "table": "testt", + "name": "testc", + "handle": 0, + "type": "filter", + "hook": "input", + "prio": 0, + "policy": "accept" + } + }, + { "set": { "family": "ip", "name": "ssh_meter", @@ -28,18 +40,6 @@ } }, { - "chain": { - "family": "ip", - "table": "testt", - "name": "testc", - "handle": 0, - "type": "filter", - "hook": "input", - "prio": 0, - "policy": "accept" - } - }, - { "rule": { "family": "ip", "table": "testt", diff --git a/tests/shell/testcases/json/dumps/0005secmark_objref_0.json-nft b/tests/shell/testcases/json/dumps/0005secmark_objref_0.json-nft index f5519a6e..3783c6b7 100644 --- a/tests/shell/testcases/json/dumps/0005secmark_objref_0.json-nft +++ b/tests/shell/testcases/json/dumps/0005secmark_objref_0.json-nft @@ -15,15 +15,6 @@ } }, { - "secmark": { - "family": "inet", - "name": "ssh_server", - "table": "x", - "handle": 0, - "context": "system_u:object_r:ssh_server_packet_t:s0" - } - }, - { "chain": { "family": "inet", "table": "x", @@ -48,6 +39,15 @@ } }, { + "secmark": { + "family": "inet", + "name": "ssh_server", + "table": "x", + "handle": 0, + "context": "system_u:object_r:ssh_server_packet_t:s0" + } + }, + { "rule": { "family": "inet", "table": "x", |