summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-10-30 14:00:24 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-10-30 14:00:24 +0000
commit548b76ed9d29909e67cc76449956f1d5f870bfc4 (patch)
treed4f86f866171743fb95d8bb1c1523ee73d9635cb
parent9c487ba56fed466d931374cda2cba1e483a0b847 (diff)
Testsuite: more detail in dsearch testcase output
-rw-r--r--test/scripts/2500-dsearch/25009
-rw-r--r--test/stdout/25006
2 files changed, 10 insertions, 5 deletions
diff --git a/test/scripts/2500-dsearch/2500 b/test/scripts/2500-dsearch/2500
index a1f4ac18b..993c361c8 100644
--- a/test/scripts/2500-dsearch/2500
+++ b/test/scripts/2500-dsearch/2500
@@ -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}}
****
diff --git a/test/stdout/2500 b/test/stdout/2500
index 5ee50c37c..8ff2378cc 100644
--- a/test/stdout/2500
+++ b/test/stdout/2500
@@ -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
>