Path fixes for running tests om Cygwin/MinGW#675
Path fixes for running tests om Cygwin/MinGW#675Karlson2k wants to merge 4 commits intocurl:masterfrom
Conversation
|
By analyzing the blame information on this pull request, we identified @mback2k, @yangtse and @dfandrich to be potential reviewers |
|
The truth is opposite. Currently path is hardcoded in testsuite as testsuite depends on that any Msys path must starts with "/cygdrive". Moreover, for example, I mount my development directory as |
|
I can confirm msys2 /cygdrive/ paths don't work but I can also confirm original mingw32 (mine at least) doesn't come with a cygpath utility. We probably could use a function to transform the path depending on what's available. |
|
@jay, confirming, there are old Msys/MinGW without cygpath. |
tests/secureserver.pl
Outdated
There was a problem hiding this comment.
I think these do not need to be changed, because this a conversion from Cygwin and msys to Windows style paths. The cygdrive part is actually optional here.
|
Closing with 20 days with no comments to the review remarks. Feel free to re-open when/if we come back to this work again. |
|
It's not abandoned. I had to learn Perl to write module which is flexible enough to handle all Msys/Cygwin configurations. Will publish it soon, but I can't reopen this PR - only repo owners can do this. |
|
Well, if it is a different fix then it could warrant a new separate pull request. But sure, I'll reopen this if you think it is better. |
|
@Karlson2k I'm curious about the test on |
|
@gvanem, Strawberry Perl as well as ActivePerl have |
Thanks. Just what I thought. |
8903dc5 to
c31d985
Compare
|
Updated with new Perl helper module. |
c31d985 to
49cf003
Compare
|
Updated with improved compatibility with older Perl. |
|
thanks! |
This PR fix path conversion in testsuite for Cygwin/Msys.
Cygwin allow to map drives to some custom paths, so
C:\\Windows\can be mapped not to/cygdrive/c/Windows. Moreover, Msys2 use simplified scheme/c/Windowsby default.