Call notquite ACL for synprot-error limit. Bug 3092
[exim.git] / test / scripts / 2500-dsearch / 2500
1 # dsearch lookup
2 # This test will fail on a case-insensitive filesystem (e.g. MacOS default)
3 exim -be
4 dsearch specifics
5 ok:         ${lookup{TESTNUM.tst}               dsearch{DIR/aux-fixed}{$value}{FAIL}}
6 fail:       ${lookup{TESTNUM.file_not_here}     dsearch{DIR/aux-fixed}{$value}{FAIL}}
7 fail:       ${lookup{TESTNUM.tst}               dsearch{DIR/dir_not_here}{$value}{FAIL}}
8 fail(case): ${lookup{TESTNUM.TST}               dsearch{DIR/aux-fixed}{$value}{FAIL}}
9 fail(case): ${lookup{TESTNUM.TST}               dsearch{DIR/AUX-fixed}{$value}{FAIL}}
10 fail(path): ${lookup{TESTNUM.tst}               dsearch{.}{$value}{OTHER}}
11 ok,full:    ${lookup{TESTNUM.tst} dsearch,ret=full      {DIR/aux-fixed}{$value}{FAIL}}
12 ok,key:     ${lookup{TESTNUM.tst} dsearch,ret=key       {DIR/aux-fixed}{$value}{FAIL}}
13 ok,file:    ${lookup{TESTNUM.tst} dsearch,filter=file   {DIR/aux-fixed}{$value}{FAIL}}
14 fail,file:  ${lookup{TESTNUM.dir} dsearch,filter=file   {DIR/aux-fixed}{$value}{FAIL}}
15 ok,dir:     ${lookup{TESTNUM.dir} dsearch,filter=dir    {DIR/aux-fixed}{$value}{FAIL}}
16 fail,dir:   ${lookup{TESTNUM.tst} dsearch,filter=dir    {DIR/aux-fixed}{$value}{FAIL}}
17 ok,subdir:  ${lookup{TESTNUM.dir} dsearch,filter=subdir {DIR/aux-fixed}{$value}{FAIL}}
18 fail,subdir(..):${lookup{..}          dsearch,filter=subdir {DIR/aux-fixed}{$value}{FAIL}}
19 fail,subdir(.) :${lookup{.}           dsearch,filter=subdir {DIR/aux-fixed}{$value}{FAIL}}
20 fail,subdir(f) :${lookup{TESTNUM.tst} dsearch,filter=subdir {DIR/aux-fixed}{$value}{FAIL}}
21 ok,subdir(..d) :${lookup{..subdir}    dsearch,filter=subdir {DIR/aux-fixed/TESTNUM.dir}{$value}{FAIL}}
22 fail.path:  ${lookup{TESTNUM.dir/regfile} dsearch          {DIR/aux-fixed}{$value}{FAIL}}
23 ok.path:    ${lookup{TESTNUM.dir/regfile} dsearch,key=path {DIR/aux-fixed}{$value}{FAIL}}
24
25 cachelayer tests
26 fail:       ${lookup{test-data}   dsearch               {DIR/}          {$value}{FAIL}}
27 createfile: ${run {/bin/cp DIR/aux-fixed/TESTNUM.tst DIR/test-data} {OK}{FAIL}}
28 fail,cached:${lookup{test-data}   dsearch               {DIR/}         {$value}{FAIL}}
29 ok,no_rd    ${lookup{test-data}   dsearch,cache=no_rd   {DIR/}         {$value}{FAIL}}
30 delfile:    ${run {/bin/rm DIR/test-data}                            {OK}{FAIL}}
31 ok,cached:  ${lookup{test-data}   dsearch               {DIR/}         {$value}{FAIL}}
32 fail,no_rd  ${lookup{test-data}   dsearch,cache=no_rd   {DIR/}         {$value}{FAIL}}
33 fail:       ${lookup{test-data}   dsearch               {DIR/}         {$value}{FAIL}}
34 ****
35 #
36 1
37 exim tainted@test.ex
38 ****