summaryrefslogtreecommitdiff
path: root/tests/macipmap.t
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2009-11-10 21:53:19 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2009-11-10 21:53:19 +0100
commitcb76e46e97b0013305a7c96c2230a791675a15cf (patch)
tree919a4cf6a6a3de1fdfc432fdf10000dddf14f8db /tests/macipmap.t
parent17d954a793b8a275324e5941a9515b991c80789d (diff)
downloadipset-cb76e46e97b0013305a7c96c2230a791675a15cf.tar.gz
ipset 4.0 releasedv4.0
See ChangeLog files
Diffstat (limited to 'tests/macipmap.t')
-rw-r--r--tests/macipmap.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/macipmap.t b/tests/macipmap.t
index a498a4f..d088958 100644
--- a/tests/macipmap.t
+++ b/tests/macipmap.t
@@ -26,6 +26,10 @@
1 ipset -T test 2.0.0.2,00:11:22:33:44:56
# Range: Test value with valid MAC
0 ipset -T test 2.0.0.2,00:11:22:33:44:55
+# Range: List set
+0 ipset -L test > .foo
+# Range: Check listing
+0 diff .foo macipmap.t.list0 && rm .foo
# Range: Flush test set
0 ipset -F test
# Range: Delete test set
@@ -52,6 +56,10 @@
1 ipset -A test 1.255.255.255
# Network: Try to add value after upper boundary
1 ipset -A test 2.1.0.0
+# Network: List set
+0 ipset -L test > .foo
+# Network: Check listing
+0 diff .foo macipmap.t.list1 && rm .foo
# Network: Flush test set
0 ipset -F test
# Network: Delete test set