From: Jim Meyering Date: Fri, 11 Jan 2008 09:06:36 +0000 (+0100) Subject: tests/tr/Test.pm: Prefer en_US.ISO-8859-1 to en_US.iso88591. X-Git-Tag: v6.9.92~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e52a7c28ac97a8b091a3fb2cdc41ee258145603a;p=platform%2Fupstream%2Fcoreutils.git 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 --- diff --git a/ChangeLog b/ChangeLog index 16d1bcb..4e17478 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-11 Jim Meyering + + * 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 * README-hacking: Add Git to the list of required tools. diff --git a/NEWS b/NEWS index ca3bbc8..12415da 100644 --- a/NEWS +++ b/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 diff --git a/tests/tr/Test.pm b/tests/tr/Test.pm index cf70213..e92204f 100644 --- a/tests/tr/Test.pm +++ b/tests/tr/Test.pm @@ -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 {