summaryrefslogtreecommitdiff
path: root/test/scripts/3200-testdb
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-12-04 15:00:19 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-12-04 15:00:19 +0000
commitd78371933afdcbdb420e40a2855b548a4673dc3d (patch)
treea46b383464d7223fcc407a94293f03bbbc1aa00d /test/scripts/3200-testdb
parent55728a4f2bbb52eb648380b40ebb4e44db590039 (diff)
Give an error for the use of * and *@ with a query-style lookup.
Diffstat (limited to 'test/scripts/3200-testdb')
-rw-r--r--test/scripts/3200-testdb/32007
1 files changed, 6 insertions, 1 deletions
diff --git a/test/scripts/3200-testdb/3200 b/test/scripts/3200-testdb/3200
index cd02ab5bc..f5b12972d 100644
--- a/test/scripts/3200-testdb/3200
+++ b/test/scripts/3200-testdb/3200
@@ -1,6 +1,11 @@
# testdb lookups
-
+1
exim -be
match_ip: 12 ${if match_ip{10.11.12.13}{testdb;something}}
match_ip: 13 ${if match_ip{10.11.12.13}{testdb;fail}}
+match_domain: 14 ${if match_domain{a.b.c.d}{testdb*;fail}}
+bad default: ${lookup testdb*{abcd}}
+bad default: ${lookup testdb*@{abcd}}
+bad default: ${lookup testdb*{fail}}
+bad default: ${lookup testdb*@{fail}}
****