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

APR trunk, xlate issues

From: Igor Galić <i.galic_at_brainsware.org>
Date: Sat, 23 Jul 2011 02:24:12 -0000 (UTC)

Hey guys,

I've been debugging a make check failure of
Subversion trunk/apr trunk/serf trunk, together with danielsh.

This seems only to occur with FreeBSD:

igalic_at_beasdix ...ubversion/subversion/tests/libsvn_subr (svn)-[trunk:1149770] % ./subst_translate-test
subversion/tests/libsvn_subr/subst_translate-test.c:75: (apr_err=22)
subversion/libsvn_subr/subst.c:1890: (apr_err=22)
subversion/libsvn_subr/utf.c:817: (apr_err=22)
subversion/libsvn_subr/utf.c:779: (apr_err=22)
subversion/libsvn_subr/utf.c:624: (apr_err=22)
svn_tests: E000022: Non-ASCII character (code 199) detected, and unable to convert to/from UTF-8
FAIL: subst_translate-test 1: test svn_subst_translate_string2()
subversion/tests/libsvn_subr/subst_translate-test.c:124: (apr_err=22)
subversion/libsvn_subr/subst.c:1894: (apr_err=22)
subversion/libsvn_subr/utf.c:797: (apr_err=22)
subversion/libsvn_subr/utf.c:779: (apr_err=22)
subversion/libsvn_subr/utf.c:624: (apr_err=22)
svn_tests: E000022: Non-ASCII character (code 198) detected, and unable to convert to/from UTF-8
FAIL: subst_translate-test 2: test svn_subst_translate_string2(encoding = NULL)
PASS: subst_translate-test 3: test repairing svn_subst_translate_string2()
PASS: subst_translate-test 4: test svn_subst_translate_cstring2()

Note that the corresponding apr test succeeds on the same system:

igalic_at_beasdix /tmp/build/apr/test (svn)-[trunk:1149693] % ./testall testxlate
testxlate : SUCCESS
All tests passed.

So perhaps we aren't covering this thoroughfully enough?

i

-- 
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic_at_brainsware.org
URL: http://brainsware.org/
GPG: 571B 8B8A FC97 266D BDA3  EF6F 43AD 80A4 5779 3257
Received on 2011-07-23 04:24:50 CEST

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.