summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/dumps/doubled-set.json-nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-12-14 17:47:21 +0100
committerFlorian Westphal <fw@strlen.de>2023-12-14 17:51:24 +0100
commit21657008dd4b4094eac017a175f2a3056af36b17 (patch)
treee97435da4497c829a8fc2dc63f8a1356567b33b7 /tests/shell/testcases/transactions/dumps/doubled-set.json-nft
parent060ed8655d64874a92e6fba2ba9452b2aa94849e (diff)
Revert "evaluate: error out when existing set has incompatible key"
This breaks existing behaviour, add a test case so this is caught in the future. The reverted test case will be brought back once a better fix is available. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/transactions/dumps/doubled-set.json-nft')
-rw-r--r--tests/shell/testcases/transactions/dumps/doubled-set.json-nft1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/shell/testcases/transactions/dumps/doubled-set.json-nft b/tests/shell/testcases/transactions/dumps/doubled-set.json-nft
new file mode 100644
index 00000000..00a1af0d
--- /dev/null
+++ b/tests/shell/testcases/transactions/dumps/doubled-set.json-nft
@@ -0,0 +1 @@
+{"nftables": [{"metainfo": {"version": "VERSION", "release_name": "RELEASE_NAME", "json_schema_version": 1}}, {"table": {"family": "ip", "name": "t", "handle": 0}}, {"set": {"family": "ip", "name": "s", "table": "t", "type": ["ipv4_addr", "ifname"], "handle": 0, "flags": ["interval"], "elem": [{"concat": ["1.2.3.4", "foo"]}]}}]}