[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1654810 - /subversion/trunk/subversion/tests/cmdline/prop_tests.py

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Mon, 9 Feb 2015 16:27:44 +0300

On 9 February 2015 at 16:22, Philip Martin <philip.martin_at_wandisco.com> wrote:
> "Bert Huijben" <bert_at_qqmail.nl> writes:
>
>> A few years ago we added code to the test suite that should force the
>> locale to the expected locale and that works for me...
>
> build/run_tests.py
>
> # Ensure the compiled C tests use a known locale (Python tests set the locale
> # explicitly).
> os.environ['LC_ALL'] = 'C'
>
> subversion/tests/cmdline/svntest/main.py
>
> # Set C locale for command line programs
> os.environ['LC_ALL'] = 'C'
>
It seems this code doesn't work if Windows is configured to use non-US
locale as *system* locale.

-- 
Ivan Zhakov
Received on 2015-02-09 14:30:00 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.