diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-12-04 15:00:19 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-12-04 15:00:19 +0000 |
commit | d78371933afdcbdb420e40a2855b548a4673dc3d (patch) | |
tree | a46b383464d7223fcc407a94293f03bbbc1aa00d /test/scripts | |
parent | 55728a4f2bbb52eb648380b40ebb4e44db590039 (diff) |
Give an error for the use of * and *@ with a query-style lookup.
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/3200-testdb/3200 | 7 |
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}} **** |