summaryrefslogtreecommitdiffstats
path: root/tests/hash:net.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hash:net.t')
-rw-r--r--tests/hash:net.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/hash:net.t b/tests/hash:net.t
index e73f29c..4db9e9a 100644
--- a/tests/hash:net.t
+++ b/tests/hash:net.t
@@ -120,6 +120,16 @@
0 ./resizet.sh -4 net
# Nomatch: Check that resizing keeps the nomatch flag
0 ./resizen.sh -4 net
+# Create set without timeout support
+0 ipset n test hash:net
+# Add more than 2^31 elements in a range
+0 ipset a test 0.0.0.0-128.0.0.1
+# List set
+0 ipset -L test 2>/dev/null | grep -v Revision: > .foo0 && ./sort.sh .foo0
+# Check listing
+0 diff -u -I 'Size in memory.*' .foo hash:net.t.list3
+# Delete test set
+0 ipset destroy test
# Counters: create set
0 ipset n test hash:net counters
# Counters: add element with packet, byte counters