From d81dbae19f8876ad472e445d89760970c79cceaa Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Sun, 20 Oct 2019 21:16:50 +0200 Subject: tests: use %FILE_PWD for file:// URLs This way, we always have exactly one slash after the host name, making the tests pass when curl is compiled with the MSYS GCC. Closes https://github.com/curl/curl/pull/4512 --- tests/data/test2001 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test2001') diff --git a/tests/data/test2001 b/tests/data/test2001 index 88a258ebb..9232499f9 100644 --- a/tests/data/test2001 +++ b/tests/data/test2001 @@ -49,7 +49,7 @@ file HTTP GET followed by FTP RETR followed by FILE -http://%HOSTIP:%HTTPPORT/20010001 ftp://%HOSTIP:%FTPPORT/20010002 file://localhost/%PWD/log/test2001.txt +http://%HOSTIP:%HTTPPORT/20010001 ftp://%HOSTIP:%FTPPORT/20010002 file://localhost%FILE_PWD/log/test2001.txt foo -- cgit v1.2.3