diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hash:mac.t.list3 | 2 | ||||
-rw-r--r-- | tests/setlist.t | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/hash:mac.t.list3 b/tests/hash:mac.t.list3 index 2253a34..ab0bf9e 100644 --- a/tests/hash:mac.t.list3 +++ b/tests/hash:mac.t.list3 @@ -1,7 +1,7 @@ Name: test Type: hash:mac Header: hashsize 1024 maxelem 2 skbinfo -Size in memory: 16792 +Size in memory: 632 References: 0 Members: 01:02:03:04:05:06 skbprio 1:10 diff --git a/tests/setlist.t b/tests/setlist.t index 78fe323..5e69fb3 100644 --- a/tests/setlist.t +++ b/tests/setlist.t @@ -54,7 +54,7 @@ 0 ipset -X && rm setlist.t.r # Create sets a, b, c to check before/after in all combinations 0 ipset restore < setlist.t.before -# Add set a to test set +# Add set b to test set 0 ipset add test b # Add set c after b 0 ipset add test c after b @@ -92,8 +92,6 @@ 0 ipset -R < setlist.t.restore # Add set "before" last one 0 ipset add test e before d -# Check reference number of the pushed off set -0 ref=`ipset list d | grep References | sed 's/References: //'` && test $ref -eq 0 # Try to add already added set 1 ipset add test a # Check reference number of added set |