Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [BUG] E02 test failure / ztst *> issue



> 2020/03/13 2:31, dana <dana@xxxxxxx> wrote:
> 
> On 11 Mar 2020, at 21:37, Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
> 
> On Mojave, your patch fixes the test for me only if i manually set LC_CTYPE or
> LC_ALL to C when running `make check` — which didn't have any effect before,
> so it is definitely an improvement. If i run it normally (where i have
> LC_CTYPE=en_GB.UTF-8), it still fails in the same way.

ztst.zsh (lines 27-31) resets LC_* and LANG to C if they are non-empty.
So I was thinking tests were run under C locale by default ...
But now I've noticed LC_CTYPE is NOT reset here.

I guess you can avoid subushell by

LC_ALL=C which ${1}





Messages sorted by: Reverse Date, Date, Thread, Author