diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-06-22 10:49:41 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-06-22 10:49:41 +0200 |
commit | 020936c8c3375e1efe44a3087c891a4b2cbfe044 (patch) | |
tree | a94751e6f1f11bcf118129c343d1942bbf53e808 /tests/hash:ip6,port,ip6.t | |
parent | 97a12ba3f184a76c406eb5622ec21a4d4d6fc8bf (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:ip6,port,ip6.t')
-rw-r--r-- | tests/hash:ip6,port,ip6.t | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/hash:ip6,port,ip6.t b/tests/hash:ip6,port,ip6.t index 84afdf9..712db33 100644 --- a/tests/hash:ip6,port,ip6.t +++ b/tests/hash:ip6,port,ip6.t @@ -1,51 +1,51 @@ -# Range: Create a set with timeout +# Create a set with timeout 0 ipset create test hash:ip,port,ip family inet6 timeout 5 -# Range: Add partly zero valued element +# Add partly zero valued element 0 ipset add test 2:0:0::1,0,0:0:0::0 -# Range: Test partly zero valued element +# Test partly zero valued element 0 ipset test test 2:0:0::1,0,0:0:0::0 -# Range: Delete party zero valued element +# Delete party zero valued element 0 ipset del test 2:0:0::1,0,0:0:0::0 -# Range: Add almost zero valued element +# Add almost zero valued element 0 ipset add test 2:0:0::1,0,0:0:0::1 -# Range: Test almost zero valued element +# Test almost zero valued element 0 ipset test test 2:0:0::1,0,0:0:0::1 -# Range: Delete almost zero valued element +# Delete almost zero valued element 0 ipset del test 2:0:0::1,0,0:0:0::1 -# Range: Add lower boundary +# Add lower boundary 0 ipset add test 2:0:0::1,5,1:1:1::1 -# Range: Add upper boundary +# Add upper boundary 0 ipset add test 2:1:0::0,128,2:2:2::2 -# Range: Test lower boundary +# Test lower boundary 0 ipset test test 2:0:0::1,5,1:1:1::1 -# Range: Test upper boundary +# Test upper boundary 0 ipset test test 2:1:0::0,128,2:2:2::2 -# Range: Test value not added to the set +# Test value not added to the set 1 ipset test test 2:0:0::1,5,1:1:1::2 -# Range: Test value not added to the set +# Test value not added to the set 1 ipset test test 2:0:0::1,6,1:1:1::1 -# Range: Test value not added to the set +# Test value not added to the set 1 ipset test test 2:0:0::2,6,1:1:1::1 -# Range: Test value before lower boundary +# Test value before lower boundary 1 ipset test test 2:0:0::0,5,1:1:1::1 -# Range: Test value after upper boundary +# Test value after upper boundary 1 ipset test test 2:1:0::1,128,2:2:2::2 -# Range: Try to add value before lower boundary +# Try to add value before lower boundary 0 ipset add test 2:0:0::0,5,1:1:1::1 -# Range: Try to add value after upper boundary +# Try to add value after upper boundary 0 ipset add test 2:1:0::1,128,2:2:2::2 -# 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:ip6,port,ip6.t.list0 && rm .foo -# Range: Sleep 6s so that elements can time out +# Sleep 6s so that elements can time out 0 sleep 6 -# Range: List set +# List set 0 ipset list test > .foo0 && ./sort.sh .foo0 -# Range: Check listing +# Check listing 0 diff -I 'Size in memory.*' .foo hash:ip6,port,ip6.t.list1 && rm .foo -# Range: Flush test set +# Flush test set 0 ipset flush test -# Range: Delete test set +# Delete test set 0 ipset destroy test # eof |