From 531a630f9666c495c0a2588609a8f4912a4880b9 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sat, 9 Mar 2024 00:26:07 +0100 Subject: tests: shell: Add missing json-nft dumps Given that a bunch of issues got fixed, add some more dumps. Also add tests/shell/testcases/owner/dumps/0002-persist.nft while at it, even though it's really small. Signed-off-by: Phil Sutter --- .../maps/dumps/map_catchall_double_free_2.json-nft | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tests/shell/testcases/maps/dumps/map_catchall_double_free_2.json-nft (limited to 'tests/shell/testcases/maps/dumps/map_catchall_double_free_2.json-nft') diff --git a/tests/shell/testcases/maps/dumps/map_catchall_double_free_2.json-nft b/tests/shell/testcases/maps/dumps/map_catchall_double_free_2.json-nft new file mode 100644 index 00000000..a9d4c8e9 --- /dev/null +++ b/tests/shell/testcases/maps/dumps/map_catchall_double_free_2.json-nft @@ -0,0 +1,46 @@ +{ + "nftables": [ + { + "metainfo": { + "version": "VERSION", + "release_name": "RELEASE_NAME", + "json_schema_version": 1 + } + }, + { + "table": { + "family": "ip", + "name": "test", + "handle": 0 + } + }, + { + "chain": { + "family": "ip", + "table": "test", + "name": "testchain", + "handle": 0 + } + }, + { + "map": { + "family": "ip", + "name": "testmap", + "table": "test", + "type": "ipv4_addr", + "handle": 0, + "map": "verdict", + "elem": [ + [ + "*", + { + "jump": { + "target": "testchain" + } + } + ] + ] + } + } + ] +} -- cgit v1.2.3