curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

file:// test URLs

From: Marcel Raad via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 18 Oct 2019 22:40:04 +0000

Hi,

I'm currently trying to get a successful test suite run for curl compiled with MSYS GCC, which has more Unix-like behavior compared to MinGW.
(Or, to be exact, I'm trying to be able to add autotools builds to AppVeyor with only what is preinstalled.)

Virtually all file:// tests are failing. They use paths like
file://localhost/%PWD%/log/test200.txt
which translates to something like
file://localhost//home/marcel/curl/tests/log/test200.txt
Note the double slash after the host name. This works fine on Linux, but doesn't on MSYS.
Is this format on purpose? Is it defined to work and an MSYS bug or something we should fix in the tests?

Thanks,
Marcel

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-10-19