summaryrefslogtreecommitdiffstats
path: root/tests/ipportnethash.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/ipportnethash.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/ipportnethash.t')
-rw-r--r--tests/ipportnethash.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ipportnethash.t b/tests/ipportnethash.t
index 120ff88..f5be27f 100644
--- a/tests/ipportnethash.t
+++ b/tests/ipportnethash.t
@@ -35,7 +35,7 @@
# Range: Try to add value after second random value
0 ipset -A test 2.1.0.1,128,2.2.2.2/12
# Range: List set
-0 ipset -L test > .foo0 && ./sort.sh .foo0
+0 ipset -L test | grep -v Revision: > .foo0 && ./sort.sh .foo0
# Range: Check listing
0 diff -u -I 'Size in memory.*' .foo ipportnethash.t.list0
# Range: Flush test set
@@ -65,7 +65,7 @@
# Network: Try to add value after second random value
0 ipset -A test 2.1.0.0,128,2.2.2.2/12
# Network: List set
-0 ipset -L test > .foo0 && ./sort.sh .foo0
+0 ipset -L test | grep -v Revision: > .foo0 && ./sort.sh .foo0
# Network: Check listing
0 diff -u -I 'Size in memory.*' .foo ipportnethash.t.list1
# Network: Flush test set