From: Dan Fandrich Date: Sun, 12 Mar 2017 22:23:31 +0000 (+0100) Subject: test1440/1: depend on well-defined file: behaviour X-Git-Tag: curl-7_54_0~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db900ab7328706b7ad8ce18ea8c459ffcd7bb216;p=curl 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. --- 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 @@ --write-out +FILE # Server-side @@ -18,12 +19,15 @@ file Check --write-out with trailing %{ -file://localhost/%PWD/log/ --write-out '%{' +file://localhost/%PWD/log/non-existent-file.txt --write-out '%{' # Verify data + +37 + %{ 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 @@ --write-out +FILE # Server-side @@ -18,12 +19,15 @@ file Check --write-out with trailing % -file://localhost/%PWD/log/ --write-out '%' +file://localhost/%PWD/log/non-existent-file.txt --write-out '%' # Verify data + +37 + %