summaryrefslogtreecommitdiffstats
path: root/tests/iptree.t
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-09-11 17:34:37 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-09-11 17:34:37 +0200
commitd95c2f1eb788c4ccb1ce6f4add61943dbb334f07 (patch)
tree6bc859294d1bd1c2045a80900d5dab88db0c47b0 /tests/iptree.t
parentaec28884e7fdce80d8efc73276a4f5b675959701 (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/iptree.t')
-rw-r--r--tests/iptree.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/iptree.t b/tests/iptree.t
index 2185a9f..1e5f7ad 100644
--- a/tests/iptree.t
+++ b/tests/iptree.t
@@ -13,7 +13,7 @@
# Static: Test value not added to the set
1 ipset -T test 192.168.68.70
# Static: List set
-0 ipset -L test > .foo0 && ./sort.sh .foo0
+0 ipset -L test | grep -v Revision: > .foo0 && ./sort.sh .foo0
# Static: Check listing
0 diff -u -I 'Size in memory.*' .foo iptree.t.list0
# Static: Flush test set