summaryrefslogtreecommitdiffstats
path: root/tests/ipportiphash.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ipportiphash.t')
-rw-r--r--tests/ipportiphash.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ipportiphash.t b/tests/ipportiphash.t
index c7c25e5..860d5a6 100644
--- a/tests/ipportiphash.t
+++ b/tests/ipportiphash.t
@@ -36,6 +36,10 @@
1 ipset -A test 2.0.0.0,5,1.1.1.1
# Range: Try to add value after upper boundary
1 ipset -A test 2.1.0.1,128,2.2.2.2
+# Range: List set
+0 ipset -L test > .foo0 && ./sort.sh .foo0
+# Range: Check listing
+0 diff .foo ipportiphash.t.list0 && rm .foo
# Range: Flush test set
0 ipset -F test
# Range: Delete test set
@@ -64,6 +68,10 @@
1 ipset -A test 1.255.255.255,5,1.1.1.1
# Network: Try to add value after upper boundary
1 ipset -A test 2.1.0.0,128,2.2.2.2
+# Network: List set
+0 ipset -L test > .foo0 && ./sort.sh .foo0
+# Network: Check listing
+0 diff .foo ipportiphash.t.list1 && rm .foo
# Network: Flush test set
0 ipset -F test
# Network: Delete test set