diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2018-10-19 19:41:26 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2018-10-19 19:41:26 +0200 |
commit | 2a66a0df03788d8a7e95972847545de0ade0dd8e (patch) | |
tree | 0a2a2bf548badf4f5b17010d661edb84981604b7 /tests | |
parent | 97f65c77f929b599c604a5d7dbc7f254ea421814 (diff) |
Correct to test null valued entry in hash:net6,port,net6 test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hash:net6,port,net6.t | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/hash:net6,port,net6.t b/tests/hash:net6,port,net6.t index 63587e3..5793b2d 100644 --- a/tests/hash:net6,port,net6.t +++ b/tests/hash:net6,port,net6.t @@ -1,11 +1,17 @@ # Range: Create a set 0 ipset -N test netportnethash -6 # Range: Add zero valued element -1 ipset -A test 2:0:0::1/24,0,0:0:0::0/0 +1 ipset -A test 0::0/0,0:0,0:0:0::0/0 # Range: Test zero valued element -1 ipset -T test 2:0:0::1/24,0,0:0:0::0/0 +1 ipset -T test 0::0/0,0:0,0:0:0::0/0 # Range: Delete zero valued element -1 ipset -D test 2:0:0::1,0,0:0:0::0/0 +1 ipset -D test 0::0/0,0,0:0:0:0::0/0 +# Range: Add almost zero valued element +0 ipset -A test 2:0:0::1/24,0,0:0:0::0/0 +# Range: Test almost zero valued element +0 ipset -T test 2:0:0::1/24,0,0:0:0::0/0 +# Range: Delete almost zero valued element +0 ipset -D test 2:0:0::1/24,0,0:0:0::0/0 # Range: Add almost zero valued element 0 ipset -A test 2:0:0::1,0,0:0:0::0/24 # Range: Test almost zero valued element |