From 2efbdf7b8fcf79f3fa8a6471d2eca00df0c91108 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 9 May 2018 12:18:20 +0200 Subject: tests: py: allow to specify sets with a timeout Not usable yet, as the set timeout netlink output isn't captured so far, but it adds groundwork to add this as a follow-up. Set definition syntax changes a little, if you want to add multiple elements they now have to be separated by "," just like in nftables. Signed-off-by: Florian Westphal --- tests/py/ip6/sets.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/py/ip6') diff --git a/tests/py/ip6/sets.t b/tests/py/ip6/sets.t index d5bcf74d..5adec53f 100644 --- a/tests/py/ip6/sets.t +++ b/tests/py/ip6/sets.t @@ -15,8 +15,8 @@ ?set2 1234:1234::1234:1234:1234:1234:1234;ok ?set2 1234:1234::1234:1234:1234:1234:1234;ok ?set2 1234::1234:1234:1234;ok -?set2 1234:1234:1234:1234:1234::1234:1234 1234:1234::123;ok -?set2 192.168.3.8 192.168.3.9;fail +?set2 1234:1234:1234:1234:1234::1234:1234, 1234:1234::123;ok +?set2 192.168.3.8, 192.168.3.9;fail ?set2 1234:1234::1234:1234:1234:1234;ok ?set2 1234:1234::1234:1234:1234:1234;ok ?set2 1234:1234:1234::1234;ok @@ -34,7 +34,7 @@ ip6 saddr != @set33 drop;fail ?set3 1324:1234:1234:1236::/64;ok !set4 type ipv6_addr flags interval;ok -?set4 1234:1234:1234:1234::/64 4321:1234:1234:1234::/64;ok +?set4 1234:1234:1234:1234::/64,4321:1234:1234:1234::/64;ok ?set4 4321:1234:1234:1234:1234:1234::/96;fail !set5 type ipv6_addr . ipv6_addr;ok -- cgit v1.2.3