curl / Mailing Lists / curl-library / Single Mail

curl-library

Test 1143 failing in MSYS bash except with -g

From: Marcel Raad <Marcel.Raad_at_teamviewer.com>
Date: Thu, 19 Jul 2018 21:30:23 +0000

Hi,

test 1143 [HTTP URL with http:/ (one slash!)] currently fails on Windows when building with MinGW-w64 and running in an MSYS2 shell:
https://curl.haxx.se/dev/log.cgi?id=20180719044620-8506#prob5

The problem is that "http:/127.0.0.1:8990/want/1143" gets passed to curl's main function as "http;C:\msys64\127.0.0.1;8990\want\1143". This also happens when directly invoking "src/curl http:/127.0.0.1:8990/want/1143" in the MSYS2 bash (but not in the Windows command prompt!) and putting the parameter in double quotes doesn't help either. It also happens with "gdb --args src/curl.exe http:/127.0.0.1:8990/want/1143".

The strange thing is: when running "./runtests.pl -a -p -v -g" in the tests directory, with -g for gdb, the argument is passed correctly. Can anyone imagine where this discrepancy might come from?

Thanks,
Marcel

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