]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: add more json dumps
authorFlorian Westphal <fw@strlen.de>
Mon, 26 Feb 2024 09:35:16 +0000 (10:35 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 26 Feb 2024 09:35:43 +0000 (10:35 +0100)
commita31d3cc48354bd5c6fc7090a6b8ae01bce3ba4fa
tree05d68b9209dffc14447de3676217440e77e47999
parentf58e72a2f5aa134653e7ee8b5432b23eb0674c3c
tests: shell: add more json dumps

Those are expected to be stable, so add them.
Some are not 100% correct, as "typeof" is misprinted as "type" (json output
and input parser lack support for this), but for these files the "type"
is valid too.

This will allow better validation once proper "typeof" support is
added to json.c and json-parser.c.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/testcases/listing/dumps/0013objects_0.json-nft [new file with mode: 0644]
tests/shell/testcases/maps/dumps/0012map_0.json-nft [new file with mode: 0644]
tests/shell/testcases/maps/dumps/pipapo_double_flush.json-nft [new file with mode: 0644]
tests/shell/testcases/nft-f/dumps/0012different_defines_0.json-nft [new file with mode: 0644]
tests/shell/testcases/nft-f/dumps/0017ct_timeout_obj_0.json-nft [new file with mode: 0644]
tests/shell/testcases/nft-f/dumps/0024priority_0.json-nft [new file with mode: 0644]
tests/shell/testcases/optimizations/dumps/merge_nat_inet.json-nft [new file with mode: 0644]
tests/shell/testcases/optimizations/dumps/single_anon_set.json-nft [new file with mode: 0644]
tests/shell/testcases/packetpath/dumps/set_lookups.json-nft [new file with mode: 0644]
tests/shell/testcases/sets/dumps/0024named_objects_0.json-nft [new file with mode: 0644]