diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-02-07 22:24:05 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-02-07 23:18:36 +0100 |
commit | 46eeb2339d2923daaf736fb0bb41383fc03e4ec0 (patch) | |
tree | f2796e00f0be4698d87ba80ba920739869ea8af6 /tests/shell/testcases/sets/dumps/0052overlap_0.json-nft | |
parent | 674eb7fa2895813b25f6fbfcc9417fc0788fade1 (diff) |
tests: shell: missing auto-merge in json output
Several tests reports DUMP_FAILED because it was missing the auto-merge
flag. That is, the original json dump was not correct. Update tests
accordingly now that json support provides an automerge flag.
Fixes: a4034c66b03e ("json: Support sets' auto-merge option")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/sets/dumps/0052overlap_0.json-nft')
-rw-r--r-- | tests/shell/testcases/sets/dumps/0052overlap_0.json-nft | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/testcases/sets/dumps/0052overlap_0.json-nft b/tests/shell/testcases/sets/dumps/0052overlap_0.json-nft index 437ed472..2ff3f234 100644 --- a/tests/shell/testcases/sets/dumps/0052overlap_0.json-nft +++ b/tests/shell/testcases/sets/dumps/0052overlap_0.json-nft @@ -1 +1 @@ -{"nftables": [{"metainfo": {"version": "VERSION", "release_name": "RELEASE_NAME", "json_schema_version": 1}}, {"table": {"family": "ip", "name": "filter", "handle": 0}}, {"set": {"family": "ip", "name": "w_all", "table": "filter", "type": "ipv4_addr", "handle": 0, "flags": ["interval"], "elem": ["10.10.10.10", "10.10.10.253"]}}]} +{"nftables": [{"metainfo": {"version": "VERSION", "release_name": "RELEASE_NAME", "json_schema_version": 1}}, {"table": {"family": "ip", "name": "filter", "handle": 0}}, {"set": {"family": "ip", "name": "w_all", "table": "filter", "type": "ipv4_addr", "handle": 0, "flags": ["interval"], "auto-merge": true, "elem": ["10.10.10.10", "10.10.10.253"]}}]} |