diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2009-11-10 21:53:19 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2009-11-10 21:53:19 +0100 |
commit | cb76e46e97b0013305a7c96c2230a791675a15cf (patch) | |
tree | 919a4cf6a6a3de1fdfc432fdf10000dddf14f8db /tests/ipmap.t | |
parent | 17d954a793b8a275324e5941a9515b991c80789d (diff) |
ipset 4.0 releasedv4.0
See ChangeLog files
Diffstat (limited to 'tests/ipmap.t')
-rw-r--r-- | tests/ipmap.t | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/ipmap.t b/tests/ipmap.t index 58b913a..239cef9 100644 --- a/tests/ipmap.t +++ b/tests/ipmap.t @@ -20,6 +20,10 @@ 1 ipset -A test 2.0.0.0 # Range: Try to add value after upper boundary 1 ipset -A test 2.1.0.1 +# Range: List set +0 ipset -L test > .foo +# Range: Check listing +0 diff .foo ipmap.t.list0 && rm .foo # Range: Flush test set 0 ipset -F test # Range: Delete test set @@ -46,6 +50,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 ipmap.t.list1 && rm .foo # Network: Flush test set 0 ipset -F test # Network: Delete test set @@ -70,6 +78,10 @@ 1 ipset -A test 9.255.255.255 # Subnets: Try to add value after upper boundary 1 ipset -A test 11.0.0.0 +# Subnets: List set +0 ipset -L test > .foo +# Subnets: Check listing +0 diff .foo ipmap.t.list2 && rm .foo # Subnets: FLush test set 0 ipset -F test # Subnets: Delete test set @@ -86,6 +98,10 @@ 0 ipset -T test 255.255.255.255 # Full: Test value not added to the set 1 ipset -T test 0.1.0.0 +# Full: List set +0 ipset -L test > .foo +# Full: Check listing +0 diff .foo ipmap.t.list3 && rm .foo # Full: Delete test set 0 ipset -X test # eof |