summaryrefslogtreecommitdiffstats
path: root/tests/iptreemap.t
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-15 13:30:55 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-15 13:30:55 +0200
commit3fd6b24ace319b139ec3c4e3031a5f05d21e304e (patch)
treee6ac952e95fa44968196149e0172b1ef13e8236f /tests/iptreemap.t
parent00bcb2b40450eca4c7ad785bf85b12692e8d29af (diff)
ipset 5 in an almost ready state - milestonev5.0-pre1
Reworked protocol and internal interfaces, missing set types added, backward compatibility verified, lots of tests added (and thanks to the tests, bugs fixed), even the manpage is rewritten ;-). Countless changes everywhere... The missing bits before announcing ipset 5: - net namespace support - new iptables/ip6tables extension library - iptables/ip6tables match and target tests (backward/forward compatibility) - tests on catching syntax errors
Diffstat (limited to 'tests/iptreemap.t')
-rw-r--r--tests/iptreemap.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/iptreemap.t b/tests/iptreemap.t
index 2e9fce7..0c36c3a 100644
--- a/tests/iptreemap.t
+++ b/tests/iptreemap.t
@@ -28,6 +28,8 @@
1 ipset -T test 3.0.0.1
# Test the range: third
0 ipset -T test 3.0.0.2
+# Delete second random IP entry
+0 ipset -D test 192.168.68.69
# Add a network block
0 ipset -A test 192.168.68.69/27
# Test the lower bound of the network
@@ -47,7 +49,7 @@
# Test element after upper bound of deleted network
0 ipset -T test 192.168.68.72
# List set
-0 ipset -L test > .foo
+0 ipset -L test > .foo0 && ./sort.sh .foo0
# Check listing
0 diff .foo iptreemap.t.list0 && rm .foo
# Flush test set