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

Re: Subversion 1.4.6 : 3 tests fail when locale is set to Turkish (tr_TR.UTF-8)

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: 2007-12-22 22:38:16 CET

2007-12-22 22:19:18 Ismail Dönmez napisał(a):
> Saturday 22 December 2007 22:37:18 tarihinde Branko Čibej şunları yazmıştı:
> > Ismail Dönmez wrote:
> > > Hi all,
> > >
> > > My LC_ALL, LANG etc is set to tr_TR.UTF-8 and make check in 1.4.6 shows 3
> > > failures :
> > >
> > > FAIL: log_tests.py 6: 'svn log -r COMMITTED' of dynamic/local WC rev
> > > FAIL: diff_tests.py 20: diff a property change plus a local edit
> > > FAIL: merge_tests.py 10: merge operations using PREV revision
> > >
> > > If I do LC_ALL=C make check all tests pass.
> > >
> > > This is probably because of a minor detail in Turkish upper/lower
> > > conversion. In Turkish uppercase of "i" is not "I", and lowercase of "I"
> > > is not "i". For more details on this see [0] .
> >
> > Interesting! Of course I know about the Turkish İ/i and I/ı pairs, but I
> > didn't expect our tests to trip over something like that. In fact I
> > believe they shouldn't. Can you post a log file from the test run?
>
> Log attached, thanks.

<Snip>
CMD: svn "log" "-r" "COMMITTED" "--config-dir" "/home/cartman/subversion-1.4.6/subversion/tests/cmdline/svn-test-work/local_tmp/config" <TIME = 0.039289>
EXPECTED STDERR:
ACTUAL STDERR:
svn: Syntax error in revision argument 'COMMITTED'
EXCEPTION: SVNLineUnequal
FAIL: log_tests.py 6: 'svn log -r COMMITTED' of dynamic/local WC rev
</Snip>

<Snip>
CMD: svn "diff" "-r1:COMMITTED" "svn-test-work/working_copies/diff_tests-20/iota" "--config-dir" "/home/cartman/subversion-1.4.6/subversion/tests/cmdline/svn-test-work/local_tmp/config" <TIME = 0.068333>
EXPECTED STDERR:
ACTUAL STDERR:
svn: Syntax error in revision argument '1:COMMITTED'
EXCEPTION: SVNLineUnequal
FAIL: diff_tests.py 20: diff a property change plus a local edit
</Snip>

<Snip>
CMD: svn "merge" "-r" "COMMITTED:PREV" "A" "A" "--config-dir" "/home/cartman/subversion-1.4.6/subversion/tests/cmdline/svn-test-work/local_tmp/config" <TIME = 0.041645>
EXPECTED STDERR:
ACTUAL STDERR:
svn: Syntax error in revision argument 'COMMITTED:PREV'
EXCEPTION: SVNLineUnequal
FAIL: merge_tests.py 10: merge operations using PREV revision
</Snip>

I'm confirming this:
# echo "tr_TR.UTF-8 UTF-8" >> /etc/locale.gen
# locale-gen &>/dev/null
# LC_ALL="tr_TR.UTF-8" svn log -rCOMMITTED
svn: Syntax error in revision argument 'COMMITTED'
#

-- 
Arfrever Frehtes Taifersar Arahesis

Received on Sat Dec 22 22:42:46 2007

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.