diff options
author | Florian Westphal <fw@strlen.de> | 2018-05-09 12:18:20 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-05-09 12:18:20 +0200 |
commit | 2efbdf7b8fcf79f3fa8a6471d2eca00df0c91108 (patch) | |
tree | a7020e985b188bd249202594a0ed8cf94f1d829c /tests/py/ip6 | |
parent | 71624f25f22b1d750bb532ced75e080b4123fb56 (diff) |
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 <fw@strlen.de>
Diffstat (limited to 'tests/py/ip6')
-rw-r--r-- | tests/py/ip6/sets.t | 6 |
1 files changed, 3 insertions, 3 deletions
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 |