Skip to contentSkip to conversation

tests: shell: missing ct count elements in new set_stmt test

PATCH New Pablo Neira Ayuso 1 participant 1 message Mar 22, 2025

Subsystems (2)
lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 tests: shell: missing ct count elements in new set_stmt test

Add missing entries to dump file.

Fixes 1f3d0b9cf9cc ("tests: shell: extend coverage for set element statements")
---
 tests/shell/testcases/sets/dumps/set_stmt.nft | 4 ++++
 1 file changed, 4 insertions(+)
tests/shell/testcases/sets/dumps/set_stmt.nft +4 -0
index f8cf08a1cb7b..71ba7996329a 100644
@@ -20,6 +20,10 @@ table ip x {
 	set y2 {
 		type ipv4_addr
 		ct count over 2
+		elements = { 2.2.2.2 ct count over 5,
+			     3.3.3.2 ct count over 2,
+			     5.5.5.2 ct count over 2,
+			     6.6.6.2 ct count over 5 }
 	}
 
 	set y3 {
Signature · 1 line
2.30.2