mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-18 09:46:33 +02:00
tests/tr/Test.pm: Prefer en_US.ISO-8859-1 to en_US.iso88591.
Suggestions from James Youngman and Pádraig Brady in http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218/focus=12227
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-01-11 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
* tests/tr/Test.pm: Prefer en_US.ISO-8859-1 to en_US.iso88591.
|
||||
Suggestions from James Youngman and Pádraig Brady in
|
||||
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218/focus=12227
|
||||
|
||||
2008-01-10 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
* README-hacking: Add Git to the list of required tools.
|
||||
|
||||
2
NEWS
2
NEWS
@@ -10,7 +10,7 @@ GNU coreutils NEWS -*- outline -*-
|
||||
|
||||
tr's case conversion would fail in a locale with differing numbers
|
||||
of lower case and upper case characters. E.g., this would fail:
|
||||
env LC_CTYPE=en_US.iso88591 tr '[:upper:]' '[:lower:]'
|
||||
env LC_CTYPE=en_US.ISO-8859-1 tr '[:upper:]' '[:lower:]'
|
||||
[bug introduced in coreutils-6.9.90]
|
||||
|
||||
** Improvements
|
||||
|
||||
@@ -142,7 +142,7 @@ my @tv = (
|
||||
|
||||
# Up to coreutils-6.9.91, this would fail with the diagnostic:
|
||||
# tr: misaligned [:upper:] and/or [:lower:] construct
|
||||
# with LC_CTYPE=en_US.iso88591.
|
||||
# with LC_CTYPE=en_US.ISO-8859-1.
|
||||
['tolower-F',q|'[:upper:]' '[:lower:]'|, 'A', 'a', 0],
|
||||
|
||||
# When doing a case-converting translation with something after the
|
||||
@@ -151,7 +151,7 @@ my @tv = (
|
||||
['dncase-xtra',q|'[:upper:].' '[:lower:]x'|, 'ABC.', 'abcx', 0],
|
||||
);
|
||||
|
||||
$Test::env{'tolower-F'} = ['LC_CTYPE=en_US.iso88591'];
|
||||
$Test::env{'tolower-F'} = ['LC_CTYPE=en_US.ISO-8859-1'];
|
||||
|
||||
sub test_vector
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user