diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-09-11 17:34:37 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-09-11 17:34:37 +0200 |
commit | d95c2f1eb788c4ccb1ce6f4add61943dbb334f07 (patch) | |
tree | 6bc859294d1bd1c2045a80900d5dab88db0c47b0 /tests/setlist.t | |
parent | aec28884e7fdce80d8efc73276a4f5b675959701 (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/setlist.t')
-rw-r--r-- | tests/setlist.t | 10 |
1 files changed, 5 insertions, 5 deletions
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 |