diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-10-20 21:16:50 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-10-21 17:28:48 +0200 |
commit | d81dbae19f8876ad472e445d89760970c79cceaa (patch) | |
tree | b65e229da5033d023643f9f611d17570f05f83f1 /tests/data/test2003 | |
parent | 2e4405d29c84a0803b24e14401a7a9f9d7975df3 (diff) |
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
Diffstat (limited to 'tests/data/test2003')
-rw-r--r-- | tests/data/test2003 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test2003 b/tests/data/test2003 index 09bee8e22..68ae71429 100644 --- a/tests/data/test2003 +++ b/tests/data/test2003 @@ -58,7 +58,7 @@ tftp HTTP GET followed by FTP RETR followed by FILE followed by TFTP RRQ then again in reverse order </name> <command option="no-include"> -http://%HOSTIP:%HTTPPORT/20030001 ftp://%HOSTIP:%FTPPORT/20030002 file://localhost/%PWD/log/test2003.txt tftp://%HOSTIP:%TFTPPORT//20030003 tftp://%HOSTIP:%TFTPPORT//20030003 file://localhost/%PWD/log/test2003.txt ftp://%HOSTIP:%FTPPORT/20030002 http://%HOSTIP:%HTTPPORT/20030001 +http://%HOSTIP:%HTTPPORT/20030001 ftp://%HOSTIP:%FTPPORT/20030002 file://localhost%FILE_PWD/log/test2003.txt tftp://%HOSTIP:%TFTPPORT//20030003 tftp://%HOSTIP:%TFTPPORT//20030003 file://localhost%FILE_PWD/log/test2003.txt ftp://%HOSTIP:%FTPPORT/20030002 http://%HOSTIP:%HTTPPORT/20030001 </command> <file name="log/test2003.txt"> foo |