Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Test failure on OpenBSD
- X-seq: zsh-workers 40124
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Matthew Martin <phy1729@xxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: Test failure on OpenBSD
- Date: Thu, 08 Dec 2016 09:44:55 +0000
- Cms-type: 201P
- In-reply-to: <20161208032652.GA38087@CptOrmolo.darkstar>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CGME20161208033159epcas3p47d871ed70505af5cb760591e5cff6a00@epcas3p4.samsung.com> <20161208032652.GA38087@CptOrmolo.darkstar>
On Wed, 7 Dec 2016 21:26:52 -0600
Matthew Martin <phy1729@xxxxxxxxx> wrote:
> [[ $'\ua0' =~ '^.$' ]] exits non-zero on OpenBSD-current both in
> 5.2-test-2 and in 5.2. I swear the test was passing when I last updated
> the port, but the test suite hasn't changed in the mean time.
I can't think of an easy way of looking at this from here. Do you get
the same from an interactive command line, and with a completely clean
environment except for LANG=en_US.UTF-8 or similar?
That's fairly well through the tests so it's presumably specific to
what's going on in the regex library, suggesting some failure to set up
internationalisation properly down there. Could some unhelpful
environment variable be leaking in (that's not looked at by the main
shell, so presumably not LC_ALL etc.)?
Preusmably also
[[ $'\ua0' == ? ]] && print OK
does work or the test would have bombed out before that point.
As it was already like this in 5.2 there's no point in holding up 5.3
(we can issue an update if it does get fixed any time soon), but some
research in OpenBSD regex set up is probably going to be useful.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author