mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:03:36 +03:00
test557: set a known good numeric locale
Windows does not allow setting the locale with environment variables (as the test attempted to do), so the test failed when run with a user locale that has a comma as radixchar. Changed the test to call setlocale() explicitly to ensure that a known working locale is set even on Windows.
This commit is contained in:
parent
ff10852158
commit
7cb1e1ee01
2 changed files with 13 additions and 5 deletions
|
|
@ -15,10 +15,6 @@ unittest
|
|||
<server>
|
||||
none
|
||||
</server>
|
||||
<setenv>
|
||||
LC_ALL=
|
||||
LC_NUMERIC=C
|
||||
</setenv>
|
||||
# tool is what to use instead of 'curl'
|
||||
<tool>
|
||||
lib557
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue