summaryrefslogtreecommitdiffstats
path: root/tests/hash:net6,port.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hash:net6,port.t')
-rw-r--r--tests/hash:net6,port.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/hash:net6,port.t b/tests/hash:net6,port.t
index 099c4f5..9cce42f 100644
--- a/tests/hash:net6,port.t
+++ b/tests/hash:net6,port.t
@@ -46,6 +46,12 @@
0 diff -I 'Size in memory.*' .foo hash:net6,port.t.list1 && rm .foo
# Flush test set
0 ipset flush test
+# Add multiple elements in one step
+0 ipset add test 1::1/64,80-84 timeout 0
+# Delete multiple elements in one step
+0 ipset del test 1::1/64,tcp:81-82
+# Check number of elements after multi-add/multi-del
+0 n=`ipset save test|wc -l` && test $n -eq 4
# Delete test set
0 ipset destroy test
# eof