diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-09-11 17:34:37 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-09-11 17:34:37 +0200 |
commit | d95c2f1eb788c4ccb1ce6f4add61943dbb334f07 (patch) | |
tree | 6bc859294d1bd1c2045a80900d5dab88db0c47b0 /tests/hash:ip,port,net.t | |
parent | aec28884e7fdce80d8efc73276a4f5b675959701 (diff) |
The set type revision number is added to the header part of listing
Incompatibility: if your script rely on the number of lines in the header
of set listings, then the new line
Revision: number
can break your script.
Diffstat (limited to 'tests/hash:ip,port,net.t')
-rw-r--r-- | tests/hash:ip,port,net.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hash:ip,port,net.t b/tests/hash:ip,port,net.t index 446c512..dad551a 100644 --- a/tests/hash:ip,port,net.t +++ b/tests/hash:ip,port,net.t @@ -27,7 +27,7 @@ # Try to add value after second random value 0 ipset add test 2.1.0.1,128,10.0.0.0/17 # 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:ip,port,net.t.list0 # Sleep 5s so that elements can time out |