14cf31b263398e9ed0a27250ec823c53c787c230
[users/jgh/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 ok:         ${lookup{TESTNUM.tst}               dsearch{DIR/aux-fixed}{$value}{FAIL}}
5 fail:       ${lookup{TESTNUM.file_not_here}     dsearch{DIR/aux-fixed}{$value}{FAIL}}
6 fail:       ${lookup{TESTNUM.tst}               dsearch{DIR/dir_not_here}{$value}{FAIL}}
7 fail(case): ${lookup{TESTNUM.TST}               dsearch{DIR/aux-fixed}{$value}{FAIL}}
8 fail(case): ${lookup{TESTNUM.TST}               dsearch{DIR/AUX-fixed}{$value}{FAIL}}
9 fail(path): ${lookup{TESTNUM.tst}               dsearch{.}{$value}{OTHER}}
10 ok,full:    ${lookup{TESTNUM.tst} dsearch,ret=full {DIR/aux-fixed}{$value}{FAIL}}
11 ****
12 #
13 1
14 exim tainted@test.ex
15 ****