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;
}