--- Begin Message ---
Subject: |
encoding-error test fails in non-English languages |
Date: |
Fri, 13 May 2016 13:23:01 +0200 |
Hi,
Running 'make check' in a grep-2.25 source tree ends with one
unexpected failure, in the encoding-error test, when LANGUAGE
is set to something other than "en".
============================================================================
Testsuite summary for GNU grep 2.25
============================================================================
# TOTAL: 102
# PASS: 66
# SKIP: 33
# XFAIL: 2
# FAIL: 1
# XPASS: 0
# ERROR: 0
The essential difference seems to be:
--- exp 2016-05-13 13:05:26.000000000 +0200
+++ out 2016-05-13 13:05:26.000000000 +0200
@@ -1 +1 @@
-Binary file in matches
+Duuma dosiero in kongruas
When I run 'LANGUAGE=en make check', there are no failures:
============================================================================
Testsuite summary for GNU grep 2.25
============================================================================
# TOTAL: 138
# PASS: 122
# SKIP: 16
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
$ locale
LANG=eo.utf8
LANGUAGE=eo:nl
LC_CTYPE="eo.utf8"
LC_NUMERIC="eo.utf8"
LC_TIME="eo.utf8"
LC_COLLATE="eo.utf8"
LC_MONETARY="eo.utf8"
LC_MESSAGES="eo.utf8"
LC_PAPER="eo.utf8"
LC_NAME="eo.utf8"
LC_ADDRESS="eo.utf8"
LC_TELEPHONE="eo.utf8"
LC_MEASUREMENT="eo.utf8"
LC_IDENTIFICATION="eo.utf8"
LC_ALL=
Benno
--
http://www.fastmail.com - A fast, anti-spam email service.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#23527: encoding-error test fails in non-English languages |
Date: |
Mon, 16 May 2016 08:43:38 -0700 |
On Mon, May 16, 2016 at 2:39 AM, Benno Schulenberg
<address@hidden> wrote:
>
> On Fri, May 13, 2016, at 17:48, Jim Meyering wrote:
>> On Fri, May 13, 2016 at 4:23 AM, Benno Schulenberg
>> <address@hidden> wrote:
>> > Running 'make check' in a grep-2.25 source tree ends with one
>> > unexpected failure, in the encoding-error test, when LANGUAGE
>> > is set to something other than "en".
>>
>> Here's a barely-tested patch:
>> + 0001-maint-do-not-let-a-LANGUAGE-envvar-setting-perturb-t.patch
>
> Yes, that avoids the failure. Thanks.
Thanks for confirming. I've pushed the patch.
--- End Message ---