From 27f6a4c68b4fdc351890d9a675603fefc48f7353 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 24 May 2019 21:12:56 +0200 Subject: tests: replace single element sets Add at least two elements to sets. Signed-off-by: Pablo Neira Ayuso --- tests/shell/testcases/nft-f/0006action_object_0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/shell/testcases/nft-f/0006action_object_0') diff --git a/tests/shell/testcases/nft-f/0006action_object_0 b/tests/shell/testcases/nft-f/0006action_object_0 index b9766f2d..ffa6c9bd 100755 --- a/tests/shell/testcases/nft-f/0006action_object_0 +++ b/tests/shell/testcases/nft-f/0006action_object_0 @@ -16,11 +16,11 @@ generate1() add set $family t s {type inet_service;} add element $family t s {8080} insert rule $family t c meta l4proto tcp tcp dport @s accept - replace rule $family t c handle 2 meta l4proto tcp tcp dport {9090} + replace rule $family t c handle 2 meta l4proto tcp tcp dport {9090, 8080} add map $family t m {type inet_service:verdict;} add element $family t m {10080:drop} insert rule $family t c meta l4proto tcp tcp dport vmap @m - add rule $family t c meta l4proto udp udp sport vmap {1111:accept} + add rule $family t c meta l4proto udp udp sport vmap {1111:accept, 2222:drop} " } -- cgit v1.2.3