aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-03-12 23:23:31 +0100
committerDan Fandrich <dan@coneharvesters.com>2017-03-12 23:27:00 +0100
commitdb900ab7328706b7ad8ce18ea8c459ffcd7bb216 (patch)
treed70f17ed9ed2c349207a2bd080e5115202a679b5 /tests/data
parent3863de57f2fdb9a487d7f92c0bd64d740dc7a96f (diff)
test1440/1: depend on well-defined file: behaviour
Depend on the known behaviour of URLs for nonexistent files rather than the undefined behaviour of URLs for directories (which fails on Windows). The test isn't about file: URLs at all, so the URL used doesn't really matter.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test14406
-rw-r--r--tests/data/test14416
2 files changed, 10 insertions, 2 deletions
diff --git a/tests/data/test1440 b/tests/data/test1440
index 7ed0c4d5f..e87cafb08 100644
--- a/tests/data/test1440
+++ b/tests/data/test1440
@@ -2,6 +2,7 @@
<info>
<keywords>
--write-out
+FILE
</keywords>
</info>
# Server-side
@@ -18,12 +19,15 @@ file
Check --write-out with trailing %{
</name>
<command>
-file://localhost/%PWD/log/ --write-out '%{'
+file://localhost/%PWD/log/non-existent-file.txt --write-out '%{'
</command>
</client>
# Verify data
<verify>
+<errorcode>
+37
+</errorcode>
<stdout nonewline="yes">
%{
</stdout>
diff --git a/tests/data/test1441 b/tests/data/test1441
index 6e253a690..8d841df5d 100644
--- a/tests/data/test1441
+++ b/tests/data/test1441
@@ -2,6 +2,7 @@
<info>
<keywords>
--write-out
+FILE
</keywords>
</info>
# Server-side
@@ -18,12 +19,15 @@ file
Check --write-out with trailing %
</name>
<command>
-file://localhost/%PWD/log/ --write-out '%'
+file://localhost/%PWD/log/non-existent-file.txt --write-out '%'
</command>
</client>
# Verify data
<verify>
+<errorcode>
+37
+</errorcode>
<stdout nonewline="yes">
%
</stdout>