summaryrefslogtreecommitdiffstats
path: root/tests/iptreemap.t
diff options
context:
space:
mode:
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