Skip Menu |

This queue is for tickets about the Gettext CPAN distribution.

Report information
The Basics
Id: 13044
Status: resolved
Priority: 0/
Queue: Gettext

People
Owner: PVANDRY [...] cpan.org
Requestors: pterjan [...] mandriva.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.04
Fixed in: (no value)



Subject: make test fails when using POSIX locale
The test check for C but not POSIX while the 2 strings are equivalent and POSIX is the real name of this locale. I attached a small patch for this. When using POSIX locale we get : PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/bind.........ok t/frconvert....# Failed test 1 in t/frconvert.t at line 25 # t/frconvert.t line 25 is: ok(0); t/frconvert....FAILED test 1 Failed 1/1 tests, 0.00% okay t/jaconvert....# Failed test 1 in t/jaconvert.t at line 23 # t/jaconvert.t line 23 is: ok(0); t/jaconvert....FAILED test 1 Failed 1/1 tests, 0.00% okay t/raw..........# Failed test 1 in t/raw.t at line 14 # t/raw.t line 14 is: ok(0); t/raw..........FAILED test 1 Failed 1/1 tests, 0.00% okay t/use..........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/frconvert.t 1 1 100.00% 1 t/jaconvert.t 1 1 100.00% 1 t/raw.t 1 1 100.00% 1 Failed 3/5 test scripts, 40.00% okay. 3/5 subtests failed, 40.00% okay.
--- test_data/gen_test_data.pl~ 2005-01-31 00:35:21.000000000 +0100 +++ test_data/gen_test_data.pl 2005-05-31 23:46:48.872289681 +0200 @@ -20,7 +20,7 @@ doskip(); } - if ($messages eq 'C') { + if ($messages eq 'C' || $messages eq 'POSIX') { skip("cannot run test in the C locale", 0); exit 0; }
From: Phillip Vandry <vandry [...] TZoNE.ORG>
Date: Tue, 31 May 2005 23:05:10 -0400
To: Guest via RT <bug-Gettext [...] rt.cpan.org>
Subject: Re: [cpan #13044] make test fails when using POSIX locale
RT-Send-Cc:
Thank you. This bug was already fixed on April 20 thank to a report from Pierre <pierre42d@9online.fr> . I was unaware of the two synonyms C and POSIX for the same locale. The fix will be in 1.5. -Phil