Skip Menu |

This queue is for tickets about the Unicode-Block CPAN distribution.

Report information
The Basics
Id: 98321
Status: resolved
Priority: 0/
Queue: Unicode-Block

People
Owner: SKIM [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.04



Subject: Locale-related failures (?) (0.03)
It seems that on some system (at least on my Linux and FreeBSD systems) the test suite fails if a non-utf8 locale is in effect, for example "C" or "de_DE.ISO8859-1".
Dne Út 26.srp.2014 03:10:53, SREZIC napsal(a): Show quoted text
> It seems that on some system (at least on my Linux and FreeBSD > systems) the test suite fails if a non-utf8 locale is in effect, for > example "C" or "de_DE.ISO8859-1".
Thanks for report. I am thinkging about it. M.
On 2014-08-26 03:10:53, SREZIC wrote: Show quoted text
> It seems that on some system (at least on my Linux and FreeBSD > systems) the test suite fails if a non-utf8 locale is in effect, for > example "C" or "de_DE.ISO8859-1".
More details. With LC_ALL=C on Debian/wheezy systems it fails like this: # Failed test 'Get width for '3111'.' # at t/Unicode-Block-Item/09-width.t line 22. # got: '1' # expected: '2' # Looks like you failed 1 test of 8. t/Unicode-Block-Item/09-width.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/8 subtests On the same system, if LC_ALL=de_DE.UTF-8 or LC_ALL=en_US.UTF-8 is set, then all tests pass.
Dne Út 17.lis.2015 17:15:10, SREZIC napsal(a): Show quoted text
> On 2014-08-26 03:10:53, SREZIC wrote:
> > It seems that on some system (at least on my Linux and FreeBSD > > systems) the test suite fails if a non-utf8 locale is in effect, for > > example "C" or "de_DE.ISO8859-1".
> > More details. With LC_ALL=C on Debian/wheezy systems it fails like > this: > > # Failed test 'Get width for '3111'.' > # at t/Unicode-Block-Item/09-width.t line 22. > # got: '1' > # expected: '2' > # Looks like you failed 1 test of 8. > t/Unicode-Block-Item/09-width.t ......... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/8 subtests > > > On the same system, if LC_ALL=de_DE.UTF-8 or LC_ALL=en_US.UTF-8 is > set, then all tests pass.
I fixed it by using setting of locale with UTF8 in tests :-) Kind Regards, M.