summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-15 15:08:55 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-15 15:08:55 +0200
commit3566189cb6f01c4f2340734f432e20cb6ed1a999 (patch)
treea4114a80245cf51a1390baf14ff0537e8fbe2594 /tests
parent3fd6b24ace319b139ec3c4e3031a5f05d21e304e (diff)
Use libmnl nest functions and fix size differences in iptree*.t
Use the libmnl mnl_attr_nest_star/mnl_attr_nest_end functions instead of the private ones. Ignore possible size differences in iptree*.t compatibility tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/iptree.t2
-rw-r--r--tests/iptreemap.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/iptree.t b/tests/iptree.t
index b1e3678..b61c0c9 100644
--- a/tests/iptree.t
+++ b/tests/iptree.t
@@ -15,7 +15,7 @@
# Static: List set
0 ipset -L test > .foo0 && ./sort.sh .foo0
# Static: Check listing
-0 diff .foo iptree.t.list0 && rm .foo
+0 diff -I 'Size in memory.*' .foo iptree.t.list0 && rm .foo
# Static: Flush test set
0 ipset -F test
# Static: Delete test set
diff --git a/tests/iptreemap.t b/tests/iptreemap.t
index 0c36c3a..aa8ed1e 100644
--- a/tests/iptreemap.t
+++ b/tests/iptreemap.t
@@ -51,7 +51,7 @@
# List set
0 ipset -L test > .foo0 && ./sort.sh .foo0
# Check listing
-0 diff .foo iptreemap.t.list0 && rm .foo
+0 diff -I 'Size in memory.*' .foo iptreemap.t.list0 && rm .foo
# Flush test set
0 ipset -F test
# Delete test set