From d78371933afdcbdb420e40a2855b548a4673dc3d Mon Sep 17 00:00:00 2001 From: Philip Hazel Date: Mon, 4 Dec 2006 15:00:19 +0000 Subject: Give an error for the use of * and *@ with a query-style lookup. --- test/scripts/3200-testdb/3200 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/scripts') 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}} **** -- cgit v1.2.3