summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2017-03-23 21:28:11 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2017-03-23 22:10:08 +0100
commitf82d6f0643ba737bf51c6f661a7acd81c4293fae (patch)
tree478742cd0644d223dad5c2f59f1d5ba81ebb9bfe /tests
parent905df4e828f01af51cd8612423b40c86ed15514e (diff)
Correct a test: number of entries may be outdated
At listing, timed out entries are not listed but the number of entries counter is updated at garbage collection.
Diffstat (limited to 'tests')
-rw-r--r--tests/comment.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/comment.t b/tests/comment.t
index 46ba6c2..b12609b 100644
--- a/tests/comment.t
+++ b/tests/comment.t
@@ -51,7 +51,7 @@
# Bitmap comment: List set
0 ipset list test | grep -v Revision: | sed 's/timeout ./timeout x/' > .foo
# Bitmap comment: Check listing
-0 diff -u -I 'Size in memory.*' .foo comment.t.list12
+0 diff -u -I 'Size in memory.*' -I 'Number of entries' .foo comment.t.list12
# Bitmap comment: Flush set
0 ipset flush test
# Bitmap comment: Delete test set