From d95c2f1eb788c4ccb1ce6f4add61943dbb334f07 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Tue, 11 Sep 2012 17:34:37 +0200 Subject: 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. --- tests/setlist.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/setlist.t') diff --git a/tests/setlist.t b/tests/setlist.t index 6f81afc..aa360b9 100644 --- a/tests/setlist.t +++ b/tests/setlist.t @@ -45,7 +45,7 @@ # Restore saved sets 0 ipset -R < setlist.t.r # List set -0 ipset -L test > .foo +0 ipset -L test | grep -v Revision: > .foo # Check listing 0 diff -u -I 'Size in memory.*' .foo setlist.t.list0 # Flush all sets @@ -61,7 +61,7 @@ # Add set a before b 0 ipset add test a before b # List test set -0 ipset list test > .foo +0 ipset list test | grep -v Revision: > .foo # Check listing 0 diff -u -I 'Size in memory.*' .foo setlist.t.list1 # Test a set before b @@ -71,17 +71,17 @@ # Delete b set before c 0 ipset del test b before c # List test set -0 ipset list test > .foo +0 ipset list test | grep -v Revision: > .foo # Check listing 0 diff -u -I 'Size in memory.*' .foo setlist.t.list2 # Delete c set after a 0 ipset del test c after a # List test set -0 ipset list test > .foo +0 ipset list test | grep -v Revision: > .foo # Check listing 0 diff -u -I 'Size in memory.*' .foo setlist.t.list3 # List all sets -0 ipset list > .foo +0 ipset list | grep -v Revision: > .foo # Check listing 0 diff -u -I 'Size in memory.*' .foo setlist.t.list4 # Flush sets -- cgit v1.2.3