dsearch: full-path return option
[users/heiko/exim.git] / test / scripts / 2500-dsearch / 2500
index a1f4ac18b92cfd98bf1bb4c88053ec395fb3af3f..14cf31b263398e9ed0a27250ec823c53c787c230 100644 (file)
@@ -1,6 +1,15 @@
 # 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}}
+****
+#
+1
+exim tainted@test.ex
 ****