diff options
Diffstat (limited to 'tests/hash:net,port.t')
-rw-r--r-- | tests/hash:net,port.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hash:net,port.t b/tests/hash:net,port.t index 5b60476..34b29f1 100644 --- a/tests/hash:net,port.t +++ b/tests/hash:net,port.t @@ -41,13 +41,13 @@ # Test ICMP by name 0 ipset test test 2.0.0.255,icmp:host-prohibited # List set -0 ipset list test | sed 's/timeout ./timeout x/' > .foo0 && ./sort.sh .foo0 +0 ipset list test | grep -v Revision: | sed 's/timeout ./timeout x/' > .foo0 && ./sort.sh .foo0 # Check listing 0 diff -u -I 'Size in memory.*' .foo hash:net,port.t.list0 # Sleep 5s so that element can time out 0 sleep 5 # IP: List set -0 ipset -L test 2>/dev/null > .foo0 && ./sort.sh .foo0 +0 ipset -L test 2>/dev/null | grep -v Revision: > .foo0 && ./sort.sh .foo0 # IP: Check listing 0 diff -u -I 'Size in memory.*' .foo hash:net,port.t.list1 # Flush test set |