Testsuite: more detail in dsearch testcase output
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 30 Oct 2018 14:00:24 +0000 (14:00 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 30 Oct 2018 14:00:24 +0000 (14:00 +0000)
test/scripts/2500-dsearch/2500
test/stdout/2500

index a1f4ac18b92cfd98bf1bb4c88053ec395fb3af3f..993c361c848d028d7a7d366acc6fd132bcca6efe 100644 (file)
@@ -1,6 +1,9 @@
 # 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}}
 ****
index 5ee50c37c6cd7b4591b9150a1a066d5aac1a5794..8ff2378cc8e4a2396e48a06e4349a0cf14189bf7 100644 (file)
@@ -1,4 +1,6 @@
-> 2500.tst
-> FAIL
+> ok:         2500.tst
+> fail:       FAIL
+> Failed: failed to open TESTSUITE/dir_not_here for directory search: No such file or directory
+> fail(case): FAIL
 > Failed: failed to open TESTSUITE/AUX-fixed for directory search: No such file or directory
 >