summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/transactions/dumps/doubled-set.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.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.nft')
-rw-r--r--tests/shell/testcases/transactions/dumps/doubled-set.nft7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/shell/testcases/transactions/dumps/doubled-set.nft b/tests/shell/testcases/transactions/dumps/doubled-set.nft
new file mode 100644
index 00000000..48a322eb
--- /dev/null
+++ b/tests/shell/testcases/transactions/dumps/doubled-set.nft
@@ -0,0 +1,7 @@
+table ip t {
+ set s {
+ type ipv4_addr . ifname
+ flags interval
+ elements = { 1.2.3.4 . "foo" }
+ }
+}