summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-01-11 10:06:36 +0100
committerJim Meyering <meyering@redhat.com>2008-01-11 10:07:01 +0100
commite52a7c28ac97a8b091a3fb2cdc41ee258145603a (patch)
treef560acbae238a3ebeadd46f9d5ea08d5f1a39a58
parent6d80b05c5a6407ef28c994ed8d4c495ffed7188b (diff)
downloadcoreutils-e52a7c28ac97a8b091a3fb2cdc41ee258145603a.tar.xz
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
-rw-r--r--ChangeLog6
-rw-r--r--NEWS2
-rw-r--r--tests/tr/Test.pm4
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 16d1bcbf6..4e17478d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/NEWS b/NEWS
index ca3bbc8e2..12415dab6 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 cf7021397..e92204f21 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
{