X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/59371ea735c941334861aa5b8e1e9a06facf044f..43ac2ce5e55c134367e7a6c8eb8d2129df00c770:/test/scripts/2500-dsearch/2500 diff --git a/test/scripts/2500-dsearch/2500 b/test/scripts/2500-dsearch/2500 index a1f4ac18b..381ef2563 100644 --- a/test/scripts/2500-dsearch/2500 +++ b/test/scripts/2500-dsearch/2500 @@ -1,6 +1,23 @@ # dsearch lookup +# This test will fail on a case-insensitive filesystem (e.g. MacOS default) exim -be -${lookup{TESTNUM.tst}dsearch{DIR/aux-fixed}{$value}{FAIL}} -${lookup{TESTNUM.TST}dsearch{DIR/aux-fixed}{$value}{FAIL}} -${lookup{TESTNUM.TST}dsearch{DIR/AUX-fixed}{$value}{FAIL}} +ok: ${lookup{TESTNUM.tst} dsearch{DIR/aux-fixed}{$value}{FAIL}} +fail: ${lookup{TESTNUM.file_not_here} dsearch{DIR/aux-fixed}{$value}{FAIL}} +fail: ${lookup{TESTNUM.tst} dsearch{DIR/dir_not_here}{$value}{FAIL}} +fail(case): ${lookup{TESTNUM.TST} dsearch{DIR/aux-fixed}{$value}{FAIL}} +fail(case): ${lookup{TESTNUM.TST} dsearch{DIR/AUX-fixed}{$value}{FAIL}} +fail(path): ${lookup{TESTNUM.tst} dsearch{.}{$value}{OTHER}} +ok,full: ${lookup{TESTNUM.tst} dsearch,ret=full {DIR/aux-fixed}{$value}{FAIL}} +ok,key: ${lookup{TESTNUM.tst} dsearch,ret=key {DIR/aux-fixed}{$value}{FAIL}} +ok,file: ${lookup{TESTNUM.tst} dsearch,filter=file {DIR/aux-fixed}{$value}{FAIL}} +fail,file: ${lookup{TESTNUM.dir} dsearch,filter=file {DIR/aux-fixed}{$value}{FAIL}} +ok,dir: ${lookup{TESTNUM.dir} dsearch,filter=dir {DIR/aux-fixed}{$value}{FAIL}} +fail,dir: ${lookup{TESTNUM.tst} dsearch,filter=dir {DIR/aux-fixed}{$value}{FAIL}} +ok,subdir: ${lookup{TESTNUM.dir} dsearch,filter=subdir {DIR/aux-fixed}{$value}{FAIL}} +fail,subdir:${lookup{..} dsearch,filter=subdir {DIR/aux-fixed}{$value}{FAIL}} +fail,subdir:${lookup{TESTNUM.tst} dsearch,filter=subdir {DIR/aux-fixed}{$value}{FAIL}} +**** +# +1 +exim tainted@test.ex ****