From db900ab7328706b7ad8ce18ea8c459ffcd7bb216 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sun, 12 Mar 2017 23:23:31 +0100 Subject: [PATCH] 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. --- tests/data/test1440 | 6 +++++- tests/data/test1441 | 6 +++++- 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 @@ --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 + %