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.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/hash:net.t b/tests/hash:net.t
index 8ccc3f2..9f99ef8 100644
--- a/tests/hash:net.t
+++ b/tests/hash:net.t
@@ -56,4 +56,10 @@
0 diff -u -I 'Size in memory.*' .foo hash:net.t.list2
# Delete test set
0 ipset destroy test
+# Stress test with range notation
+0 ./netgen.sh | ipset restore
+# List set and check the number of elements
+0 n=`ipset -L test|grep '10.'|wc -l` && test $n -eq 43520
+# Delete test set
+0 ipset destroy test
# eof