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