Subject: | test fails if other de locales than de_AT are installed |
Date: | Fri, 17 Jul 2009 10:04:25 +0200 |
To: | bug-libintl-perl [...] rt.cpan.org |
From: | Torsten Veller <tove [...] veller.net> |
Hi
i have a problem with the tests of libintl-perl-1.20 and my locale settings.
The test fails if some de locale is installed but not de_AT:
| $ locale -a
| C
| de_AT
| de_AT.iso88591
| de_DE
| de_DE.iso88591
| deutsch
| en_US
| en_US.iso88591
| german
| POSIX
=> tests successful
Then remove the AT locale.
| $ locale -a
| C
| de_DE
| de_DE.iso88591
| deutsch
| en_US
| en_US.iso88591
| german
| POSIX
=> tests fail
./tests/03_tester_david_xs................perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "de_AT",
LC_ALL = "de_AT",
LC_MESSAGES = "de_AT",
LANG = "de_AT"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
./tests/03_tester_david_xs................1/6 # Test 5 got: "View" (./tests/03_tester_david_xs.t at line 54)
# Expected: "Anzeigen"
# ./tests/03_tester_david_xs.t line 54 is: ok dcgettext (existing => 'View', LC_MESSAGES), 'Anzeigen';
# Test 6 got: "Which folder would you like to view?\4View" (./tests/03_tester_david_xs.t at line 57)
# Expected: "Ansicht"
# ./tests/03_tester_david_xs.t line 57 is: ok dcgettext (existing => "Which folder would you like to view?\004View",
./tests/03_tester_david_xs................ Failed 2/6 subtests
[...]
Test Summary Report
-------------------
./tests/03_tester_david_xs.t (Wstat: 0 Tests: 6 Failed: 2)
Failed tests: 5-6
./tests/03dcnpgettext_xs.t (Wstat: 0 Tests: 95 Failed: 51)
Failed tests: 33-42, 55-95
./tests/03dcpgettext_xs.t (Wstat: 0 Tests: 10 Failed: 4)
Failed tests: 5-6, 8, 10
./tests/03dnpgettext_xs.t (Wstat: 0 Tests: 95 Failed: 51)
Failed tests: 33-42, 55-95
./tests/03dpgettext_xs.t (Wstat: 0 Tests: 9 Failed: 3)
Failed tests: 5-6, 8
./tests/03ngettext_xs.t (Wstat: 0 Tests: 88 Failed: 41)
Failed tests: 48-88
./tests/03npgettext_xs.t (Wstat: 0 Tests: 99 Failed: 51)
Failed tests: 35-44, 59-99
./tests/03pgettext_xs.t (Wstat: 0 Tests: 8 Failed: 3)
Failed tests: 5-7
Files=178, Tests=2274, 17 wallclock secs ( 0,99 usr 0,27 sys + 13,06 cusr 0,88 csys = 15,20 CPU)
Result: FAIL
Then remove all the de locales.
| $ locale -a
| C
| en_US
| en_US.iso88591
| POSIX
=> noisy ("Setting locale failed...") but successful
Best regards