X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/59371ea735c941334861aa5b8e1e9a06facf044f..ed774df4902eaa5d67f7220a3b2d0831aee2da0f:/test/scripts/3200-testdb/3200 diff --git a/test/scripts/3200-testdb/3200 b/test/scripts/3200-testdb/3200 index cd02ab5bc..6ea2c9865 100644 --- a/test/scripts/3200-testdb/3200 +++ b/test/scripts/3200-testdb/3200 @@ -1,6 +1,23 @@ # 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}} +**** +# +exim -be +set,t acl_m0 = expected_fail +set,t acl_m1 = barbaz +set,t acl_m2 = foo_2 +set,t acl_m3 = foo_3 +missing quoter: ${lookup testdb {$acl_m0}} +proper quoter: ${lookup testdb {${quote_testdb:$acl_m1}}} +missing (but cached): ${lookup testdb {$acl_m1}} +shared quoter: ${lookup testdb2 {${quote_testdb:$acl_m2}}} +quoter notreq: ${lookup testdb_nq {$acl_m3}} ****