From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12845 invoked from network); 1 May 2009 14:53:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_C autolearn=no version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 May 2009 14:53:15 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 32065 invoked from network); 1 May 2009 14:53:10 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 May 2009 14:53:10 -0000 Received: (qmail 11839 invoked by alias); 1 May 2009 14:53:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26914 Received: (qmail 11825 invoked from network); 1 May 2009 14:53:04 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 1 May 2009 14:53:04 -0000 Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by bifrost.dotsrc.org (Postfix) with ESMTPS id A9EF28028C71 for ; Fri, 1 May 2009 16:50:26 +0200 (CEST) Received: from sdf.lonestar.org (IDENT:pda@svalbard.freeshell.org [192.94.73.10]) by sdf.lonestar.org (8.14.3/8.13.8) with ESMTP id n41EqrdL025169 for ; Fri, 1 May 2009 14:52:54 GMT Received: (from pda@localhost) by sdf.lonestar.org (8.14.3/8.12.8/Submit) id n41EqrOS008222 for zsh-workers@sunsite.dk; Fri, 1 May 2009 14:52:53 GMT From: Paul Ackersviller Date: Fri, 1 May 2009 14:52:53 +0000 To: zsh-workers@sunsite.dk Subject: Re: D07multibyte.ztst failure on HP-UX 11.11 Message-ID: <20090501145253.GA5070@svalbard> Mail-Followup-To: zsh-workers@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200904301603.n3UG3x8I022847@news01.csr.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV 0.92.1/9309/Fri May 1 05:55:03 2009 on bifrost X-Virus-Status: Clean Sorry if anyone gets this twice, I sent it yesterday but haven't seen it show up on the list yet. On Thu, Apr 30, 2009 at 05:03:59PM +0100, Peter Stephenson wrote: > Paul Ackersviller wrote: > > That gets me past that test, then a subsequent one fails. > > Urgh. I can't help feeling it might be better if they just fixed the > system. Granted, it is and old, if not already-obsolete, system. > > ./D07multibyte.ztst: starting. > > locale en_US.UTF-8 failed > > *** /tmp/zsh.ztst.out.4937 2009-04-30 11:23:24.000000000 -0400 > > --- /tmp/zsh.ztst.tout.4937 2009-04-30 11:23:24.000000000 -0400 > > *************** > > *** 1,4 **** > > - OK > > - OK > > - OK > > - OK > > --- 0 ---- > > Test ./D07multibyte.ztst failed: output differs from expected as shown above > > for: > > testfn() { (LC_ALL=C; print $'\u00e9') } > > repeat 4 testfn 2>&1 | while read line; do > > if [[ $line = *"character not in range"* ]]; then > > print OK > > elif [[ $line = "?" ]]; then > > print OK > > else > > print Failed: no error message and no question mark > > fi > > done > > true > > Was testing: error handling in Unicode quoting > > ./D07multibyte.ztst: test failed. > > Eh? How did you manage to get *no* output from that test? What does > testfn do when run on it's own? Same thing -- it seems the read is either detecting EOF right off, or else failing silently somehow. I don't do the if at all, but I see I can get there by using a non-utf8 value of LANG.