diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-17 21:34:20 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-17 21:34:20 +0100 |
commit | 6da3c49b9b4e7eb2890f63ea7f8eb956ec655640 (patch) | |
tree | c80038faac0564cdb56337373fcbd6309c9e8435 /tests/hash:ip6,port.t | |
parent | 8c55ba2eb0b4ad5b4dc0ad7a685c4d17d8d3f7bf (diff) |
Add more test to check adding/deleting multiple entries.
Diffstat (limited to 'tests/hash:ip6,port.t')
-rw-r--r-- | tests/hash:ip6,port.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/hash:ip6,port.t b/tests/hash:ip6,port.t index ead59a5..26d5300 100644 --- a/tests/hash:ip6,port.t +++ b/tests/hash:ip6,port.t @@ -38,6 +38,12 @@ 0 diff -I 'Size in memory.*' .foo hash:ip6,port.t.list1 && rm .foo # Flush test set 0 ipset flush test +# Add multiple elements in one step +0 ipset add test 1::1,udp:80-85 +# Delete multiple elements in one step +0 ipset del test 1::1,udp:81-84 +# Check elements after multiple add/del +0 ipset test test 1::1,udp:80 # Delete test set 0 ipset destroy test # eof |