zsh-workers
 help / color / mirror / code / Atom feed
From: Jun T <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: [BUG] E02 test failure / ztst *> issue
Date: Fri, 13 Mar 2020 19:08:28 +0900	[thread overview]
Message-ID: <D91C8F3F-CD3A-4FA4-8E29-D7AC2B591853@kba.biglobe.ne.jp> (raw)
In-Reply-To: <36587C4A-0329-40D0-8B03-549607985704@dana.is>


> 2020/03/13 2:31, dana <dana@dana.is> wrote:
> 
> On 11 Mar 2020, at 21:37, Jun T <takimoto-j@kba.biglobe.ne.jp> 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}




  parent reply	other threads:[~2020-03-13 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-11 21:15 dana
2020-03-12  2:37 ` Jun T
2020-03-12 17:31   ` dana
2020-03-12 17:36     ` Peter Stephenson
2020-03-13 10:08     ` Jun T [this message]
2020-03-13 13:52       ` dana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D91C8F3F-CD3A-4FA4-8E29-D7AC2B591853@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).