You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Modify misc tests to use Invariant culture instead of current culture #15449
Some tests assume en-us or invariant and on a test machine which is not configured the tests will fail. These tests should not depend on a specific default locale.
Below is a set of tests that fail when LANG variable is not set in Linux. These should be fixed to explicitly use Invariant.
Note that some of these tests fail due to unrelated but known issue with case-insensitive string comparison that happens to fail with the default locale of en-US-POSIX (when LANG is not set) so these tests may have to be disabled temporary for Linux until that issue is fixed
I think those tests might not be in the System.Globalization... looking now
EDIT:
can't find anything pointing to this issue anywhere in corefx
I have searched few tests mentioned in the first post (first 3 and last 3) and can't seem to find those tests either
I'm closing this as no repro - please reopen if I've missed something. Possibly they already got fixed.
@krwq we had changed the globalization test much since this issue is opened. if you don't see any problem when changing the default language on the system before running the tests then we are ok here.
Activity
karelz commentedon Nov 8, 2016
Should be simple change of tests to set culture to InvariantCulture first.
Vertygo commentedon Apr 5, 2017
Can I take this one?
karelz commentedon Apr 6, 2017
Sure, assigned to you @Vertygo
karelz commentedon Apr 6, 2017
If you're in trouble @krwq and @tarekgh should be able to help ...
krwq commentedon Apr 11, 2017
Hi @Vertygo, what's the status? Are you still working on it?
krwq commentedon Apr 11, 2017
@Vertygo it's ok if you haven't started yet, I'm just wondering if I can pick this up since it is the last System.Globalization 2.0.0 bug 😉
krwq commentedon Apr 12, 2017
@steveharter this does not repro for me on bash for windows or Ubuntu
Is there some special setup I need for this?
Here is what I did:
also tried setting
LANG=en-US-POSIX- also no reprorunning
localeafter changing LANG (that sets other environment variables) - no reproI also made sure tests are not disabled - doesn't seem to be related
krwq commentedon Apr 12, 2017
I think those tests might not be in the System.Globalization... looking now
EDIT:
can't find anything pointing to this issue anywhere in corefx
I have searched few tests mentioned in the first post (first 3 and last 3) and can't seem to find those tests either
I'm closing this as no repro - please reopen if I've missed something. Possibly they already got fixed.
tarekgh commentedon Apr 12, 2017
@krwq we had changed the globalization test much since this issue is opened. if you don't see any problem when changing the default language on the system before running the tests then we are ok here.
krwq commentedon Apr 12, 2017
Thanks @tarekgh for confirming 😉