summaryrefslogtreecommitdiffstats
path: root/tests/hash:net.t
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-22 10:49:41 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-22 10:49:41 +0200
commit020936c8c3375e1efe44a3087c891a4b2cbfe044 (patch)
treea94751e6f1f11bcf118129c343d1942bbf53e808 /tests/hash:net.t
parent97a12ba3f184a76c406eb5622ec21a4d4d6fc8bf (diff)
ipset 5: last new feature addedv5.0-pre3
- the hash types can now store protocol together port, not only port - lots of fixes everywhere: parser, error reporting, manpage The last bits on the todo list before announcing ipset 5: - recheck all the error messages - add possibly more tests - polish manpage
Diffstat (limited to 'tests/hash:net.t')
-rw-r--r--tests/hash:net.t36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/hash:net.t b/tests/hash:net.t
index b46ac86..c27bb65 100644
--- a/tests/hash:net.t
+++ b/tests/hash:net.t
@@ -1,40 +1,40 @@
# Create a set with timeout
0 ipset create test nethash hashsize 128 timeout 6
-# Range: Add zero valued element
+# Add zero valued element
1 ipset add test 0.0.0.0/0
-# Range: Test zero valued element
+# Test zero valued element
1 ipset test test 0.0.0.0/0
-# Range: Delete zero valued element
+# Delete zero valued element
1 ipset del test 0.0.0.0/0
-# Range: Try to add /0
+# Try to add /0
1 ipset add test 1.1.1.1/0
-# Range: Try to add /32
+# Try to add /32
0 ipset add test 1.1.1.1/32
-# Range: Add almost zero valued element
+# Add almost zero valued element
0 ipset add test 0.0.0.0/1
-# Range: Test almost zero valued element
+# Test almost zero valued element
0 ipset test test 0.0.0.0/1
-# Range: Delete almost zero valued element
+# Delete almost zero valued element
0 ipset del test 0.0.0.0/1
-# Range: Test deleted element
+# Test deleted element
1 ipset test test 0.0.0.0/1
-# Range: Delete element not added to the set
+# Delete element not added to the set
1 ipset del test 0.0.0.0/1
-# Range: Add first random network
+# Add first random network
0 ipset add test 2.0.0.1/24
-# Range: Add second random network
+# Add second random network
0 ipset add test 192.168.68.69/27
-# Range: Test first random value
+# Test first random value
0 ipset test test 2.0.0.255
-# Range: Test second random value
+# Test second random value
0 ipset test test 192.168.68.95
-# Range: Test value not added to the set
+# Test value not added to the set
1 ipset test test 2.0.1.0
-# Range: Try to add IP address
+# Try to add IP address
0 ipset add test 2.0.0.1
-# Range: List set
+# List set
0 ipset list test | sed 's/timeout ./timeout x/' > .foo0 && ./sort.sh .foo0
-# Range: Check listing
+# Check listing
0 diff -I 'Size in memory.*' .foo hash:net.t.list0 && rm .foo
# Sleep 6s so that element can time out
0 sleep 6