path: root/tests/py/ip6
diff options
authorPablo Neira Ayuso <>2016-08-29 19:50:45 +0200
committerPablo Neira Ayuso <>2016-08-29 20:30:23 +0200
commitd089630ecbc783d7f0c6df972033694b1671c009 (patch)
tree813700a839e569116e40f30d81ca228748ecb20d /tests/py/ip6
parente7b1270057037c1c2524204c4c903c995cf77aab (diff)
tests: py: adapt it to new add element command semantics
Since fd33d96 ("src: create element command"), add element doesn't fail anymore if the element exists, you have to use create instead in case you want to check if the element already exists. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests/py/ip6')
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/py/ip6/sets.t b/tests/py/ip6/sets.t
index ff38925e..ea20834e 100644
--- a/tests/py/ip6/sets.t
+++ b/tests/py/ip6/sets.t
@@ -13,12 +13,12 @@
!set2 type ipv6_addr;ok
?set2 1234:1234::1234:1234:1234:1234:1234;ok
-?set2 1234:1234::1234:1234:1234:1234:1234;fail
+?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 1234:1234::1234:1234:1234:1234;ok
-?set2 1234:1234::1234:1234:1234:1234;fail
+?set2 1234:1234::1234:1234:1234:1234;ok
?set2 1234:1234:1234::1234;ok
ip6 saddr @set2 drop;ok