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

Locale sensitivity in merge_tests.py

From: Hood, Earl <earl.hood_at_hp.com>
Date: 2007-08-18 01:49:01 CEST

I've been trying to build v1.4.4 under HP-UX.

It appears that one of the tests is sensitive to the current
locale setting: merge_tests.py.

I normally have my locale set to en_US.utf8, but this causes
merge_tests.py to generate the following error:

 merge_tests.py 4: some simple property merges

Looking at the log file, I see the following:

EXPECTED STDERR:
ACTUAL STDERR:
invalid multibyte character
EXCEPTION: SVNLineUnequal

I noticed that the CMD above has an 8-bit character, but the
sequence is not legal utf8, so I'm guessing this is why the error
occurs. To verify, I ran the following:

shell> LC_ALL=C make check TESTS=subversion/tests/cmdline/merge_tests.py

Running all tests in merge_tests.py...success

My concern is if subversion if locale sensitive, and if different
locales are used by different users, will problems arise?

--ewh

P.S. It would be nice that the configure script supported an
option to specify the path to python. There are multiple
versions on the system I'm using, and subversion definitely
did not like one of them (all .py tests fail). I had to alter
my search path to have configure pick up the one that appears
to work.

-- 
Earl Hood
Software Engineer
ATCL Doctools 
earl.hood@hp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 18 01:47:50 2007

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

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