From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28365 invoked by alias); 9 Dec 2016 05:13:38 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40133 Received: (qmail 20985 invoked from network); 9 Dec 2016 05:13:38 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi0-f68.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.218.68):SA:0(0.2/5.0):. Processed in 0.867994 secs); 09 Dec 2016 05:13:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: phy1729@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.218.68 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AtduSjGk0yx1HsSBh9hMWHvrqDnUjW3WZ9SMpE8Geh0=; b=ff/oykN+6WZ3CC1bCsxG+2WSF/szYo+4jtyHQAUG++WRmRjHpz29K6+Dhi7xLFi30J UWIqeulTAWbiPNHaL6u9SN7zjAJVa/oxR+Jet5r8gPY2B4gYJIlTkTCMxnpdVXhUrp07 7ZZs8exXFNcct5uiPkwXDzpX/FrbDPMC/P8QYze+l3DnUraLer1qpLtrYHq/2rYinACt cdArBLkPvYc5H+UFSVdnwW39C/bCBP6hfsXRZ/YQaLOBtXZiI9nZUGom8okNMv6OhN/F AFJLtC2afh1sl+co06HawO2gIjui366Zi3pHBpPDui5NLF7Kde0sk5hafSQyP41MDiew TdJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=AtduSjGk0yx1HsSBh9hMWHvrqDnUjW3WZ9SMpE8Geh0=; b=CBC6+k5H5Yft6sk73TxjrqF+1NTvo9v45Lo94WybvTfZugJyGbNYTWF0wsMxZ/Xcv+ h0Or3ePINTOH3f+tWGFVSybR4yS4sxxUL2lW1KFjMYqXIEkj+OIJkqUvzl56FgqVDQib 4Mtu6NaV5x4Z81YPiVQeyWrm/O0Zlt8XA+rX4Ud6v1SOWe7/pd9G+5KSvlWWtyvH34W7 JPYuqDU0ZBsL6Mdb9tOit7kVb96YWloDxMGCZDZRG5iT/pGugjIGPUqd5Avm01L/rVz3 7k5hTFqTq2CWGR9HBsQKuGQ+nBNQMBp/tP6ZnAyEIfMqFd3Jx9cB6L/Rj541xX4aT9DR e/Xw== X-Gm-Message-State: AKaTC023gZAZCaT5ESHZPrBJjln8XgdbyDZximVrpBIszlvXRwGzLbqlLQp6w9mM/Wsm7g== X-Received: by 10.202.67.7 with SMTP id q7mr37217874oia.103.1481260409184; Thu, 08 Dec 2016 21:13:29 -0800 (PST) Date: Thu, 8 Dec 2016 23:13:26 -0600 From: Matthew Martin To: zsh-workers@zsh.org Subject: Re: Test failure on OpenBSD Message-ID: <20161209051326.GA48609@CptOrmolo.darkstar> Mail-Followup-To: zsh-workers@zsh.org References: <20161208032652.GA38087@CptOrmolo.darkstar> <20161208094455.5c62555c@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161208094455.5c62555c@pwslap01u.europe.root.pri> User-Agent: Mutt/1.7.2 (2016-11-26) On Thu, Dec 08, 2016 at 09:44:55AM +0000, Peter Stephenson wrote: > On Wed, 7 Dec 2016 21:26:52 -0600 > Matthew Martin 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? In env -i LANG=en_US.UTF-8 zsh-5.2-test-2 -f it still exits 1. > 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 This does exit 0. > 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. That's why I tested 5.2 as well. Any tips on where to look or what is the C equivalent of [[ $'\ua0' =~ '^.$' ]] ?