summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-03-29 20:59:49 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-03-29 22:25:58 +0100
commit129a5d133927ff8fa4b3f941f83c022d2daf18f3 (patch)
tree9d08dadc0a4176e5bc5147ab6cf744025b76a531 /test
parentd447dbd160a0fb503ed1e763f3f23d28744b6ddd (diff)
Dsearch: require absolute dirname
Diffstat (limited to 'test')
-rw-r--r--test/scripts/2500-dsearch/25001
-rw-r--r--test/stdout/25001
2 files changed, 2 insertions, 0 deletions
diff --git a/test/scripts/2500-dsearch/2500 b/test/scripts/2500-dsearch/2500
index 49e2a3761..040ce599e 100644
--- a/test/scripts/2500-dsearch/2500
+++ b/test/scripts/2500-dsearch/2500
@@ -6,6 +6,7 @@ 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}}
****
#
1
diff --git a/test/stdout/2500 b/test/stdout/2500
index 8ff2378cc..3259e726c 100644
--- a/test/stdout/2500
+++ b/test/stdout/2500
@@ -3,4 +3,5 @@
> 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
+> Failed: dirname '.' for dsearch is not absolute
>