summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2007-05-08 13:08:22 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2007-05-08 13:08:22 +0000
commit6a3bceb1162da6104bf656ecde9890c03cc2328d (patch)
tree59120e2245a0579bf15bd0761ab1e1e3b2ee1f90 /test
parenteb4c0de6a9078df61b580ee20e575f1a40ddb242 (diff)
Use colon, not dot, as IPv6 separator in host-list lookups that use the
iplsearch lookup type.
Diffstat (limited to 'test')
-rw-r--r--test/aux-fixed/0002.matchip1
-rw-r--r--test/scripts/0000-Basic/00021
-rw-r--r--test/stdout/00021
3 files changed, 3 insertions, 0 deletions
diff --git a/test/aux-fixed/0002.matchip b/test/aux-fixed/0002.matchip
index 90bb0ea09..6b4263544 100644
--- a/test/aux-fixed/0002.matchip
+++ b/test/aux-fixed/0002.matchip
@@ -1,2 +1,3 @@
1.2.3.4: data for 1.2.3.4
5.6.7.0/24: data for 5.6.7.0/24
+"abcd::dcba": data for abcd::dcba
diff --git a/test/scripts/0000-Basic/0002 b/test/scripts/0000-Basic/0002
index fd332afa4..bf604477b 100644
--- a/test/scripts/0000-Basic/0002
+++ b/test/scripts/0000-Basic/0002
@@ -375,6 +375,7 @@ match_ip: 11 ${if match_ip{somename}{+hlist}}
match_ip: 12 ${if match_ip{1.2.3.4}{lsearch;DIR/aux-fixed/0002.matchip}}
match_ip: 13 ${if match_ip{1.2.3.4}{net-lsearch;DIR/aux-fixed/0002.matchip}}
match_ip: 14 ${if match_ip{5.6.7.8}{net24-lsearch;DIR/aux-fixed/0002.matchip}}
+match_ip: 15 ${if match_ip{abcd::dcba}{net-iplsearch;DIR/aux-fixed/0002.matchip}}
queue_running: ${if queue_running{y}{n}}
first_delivery: ${if first_delivery{y}{n}}
diff --git a/test/stdout/0002 b/test/stdout/0002
index f76f07f51..2b2b0881f 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -345,6 +345,7 @@
> match_ip: 12 true
> match_ip: 13 true
> match_ip: 14 true
+> match_ip: 15 true
>
> queue_running: n
> first_delivery: n