New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows-only failure with base/ua.t #357
Comments
It sounds like this change is behind this: #355 Do you have |
According to the Windows "Environment Variables" display/edit dialog, there's nothing by either name. |
Right, sorry. Those vars are being set in the test. https://metacpan.org/source/OALDERS/libwww-perl-6.50/t%2Fbase%2Fua.t#L165-188 |
Are env vars on Windows case insensitive? |
|
|
Thanks @genio! I guess we can just skip that particular test on Windows? |
So on Windows, Skipping the test on Windows would be appropriate, if it's important that the same name (different case) be used for these tests. Feel free to close this ticket once you've decided what to do. |
@oalders Skipping it sounds like the quick/simple solution to get a fix out to me. |
Thanks @PhilterPaper and @genio. I'll get a new release out that skips that test. As I was looking into this I realized that most of the tests weren't actually being run in CI for Windows, so I'll fix that at the same time to ensure the tests are actually passing. |
LWP 6.51 (as well as LWP::Protocol::https 6.10) now installs cleanly on Windows. Thank you! |
Thanks for the follow-up, @PhilterPaper. I appreciate your help with this. Happy New Year! |
Windows 10, Strawberry Perl 5.26.1
Recent release(s) of LWP have been failing (MSWIN32) on lines 174 and 175 of t/base/ua.t. I haven't been able to fix it, but I do note that both the domains you use: example.com and otherexample.com, are real, existing domains! The second one is NSFW (porn), by the way. Changing example to exampleX everywhere (and likewise for otherexample) didn't fix it, so that may not be the problem.
The second problem is that it gets an undef instead of "Environment contains multiple differing definitions...". Is
@warn
set somewhere?No idea why these tests are supposedly working on non-Windows platforms, but not on Windows.
BTW, if you have no Windows to test on, I would be happy to have you send me a libwww-perl-VER.tar.gz file to test install and report back the messages.
The text was updated successfully, but these errors were encountered: