[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] sed: fix minor multibyte parsing bug
From: |
Jim Meyering |
Subject: |
Re: [PATCH] sed: fix minor multibyte parsing bug |
Date: |
Sat, 25 Jun 2016 22:37:08 -0600 |
On Sat, Jun 25, 2016 at 10:06 AM, Jim Meyering <address@hidden> wrote:
> I agree: I would like to skip (warning of broken OS X locale) any test
> like mb-charclass-non-utf8, and think we can do that without resorting
> to compile+run tests. This prints 1 with the broken locale (both with
> coreutils' wc and with /usr/bin/wc), yet prints 2 as one would expect
> on linux-based systems:
>
> printf '\203\060'|LC_ALL=ja_JP.eucJP wc -m
Thanks again for all your work on this.
I've taken my suggestion and wrote the following patch.
It makes the offending test skip rather than fail on OS X.
What do you think?
0001-tests-mb-charclass-non-utf8-avoid-false-failure.diff
Description: Text document