diff options
Diffstat (limited to 'tests/hash:ip,port,ip.t')
-rw-r--r-- | tests/hash:ip,port,ip.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/hash:ip,port,ip.t b/tests/hash:ip,port,ip.t index 8a6954e..fcd6985 100644 --- a/tests/hash:ip,port,ip.t +++ b/tests/hash:ip,port,ip.t @@ -35,15 +35,15 @@ # Try to add value after second random value 0 ipset add test 2.1.0.1,128,2.2.2.2 # List set -0 ipset list test | grep -v Revision: | sed 's/timeout ./timeout x/' > .foo0 && ./sort.sh .foo0 +0 ipset list test > .foo0 && ./sort.sh .foo0 # Check listing -0 diff -u -I 'Size in memory.*' .foo hash:ip,port,ip.t.list0 +0 ./diff.sh .foo hash:ip,port,ip.t.list0 # Sleep 5s so that elements can time out 0 sleep 5 # List set -0 ipset list test | grep -v Revision: > .foo0 && ./sort.sh .foo0 +0 ipset list test > .foo0 && ./sort.sh .foo0 # Check listing -0 diff -u -I 'Size in memory.*' .foo hash:ip,port,ip.t.list1 +0 ./diff.sh .foo hash:ip,port,ip.t.list1 # Flush test set 0 ipset flush test # Add multiple elements in one step |