From f82d6f0643ba737bf51c6f661a7acd81c4293fae Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 23 Mar 2017 21:28:11 +0100 Subject: 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. --- tests/comment.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3