From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5243 invoked from network); 30 May 2007 11:17:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 May 2007 11:17:34 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 61870 invoked from network); 30 May 2007 11:17:27 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 May 2007 11:17:27 -0000 Received: (qmail 11238 invoked by alias); 30 May 2007 11:17:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23498 Received: (qmail 11229 invoked from network); 30 May 2007 11:17:24 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 30 May 2007 11:17:24 -0000 Received: (qmail 61628 invoked from network); 30 May 2007 11:17:24 -0000 Received: from cluster-c.mailcontrol.com (168.143.177.190) by a.mx.sunsite.dk with SMTP; 30 May 2007 11:17:18 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly27c.srv.mailcontrol.com (MailControl) with ESMTP id l4UBHBIK018399 for ; Wed, 30 May 2007 12:17:14 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 May 2007 12:17:10 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.8/8.13.4) with ESMTP id l4UBHAdj010729 for ; Wed, 30 May 2007 12:17:10 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.13.8/8.13.8/Submit) with ESMTP id l4UBH88X010726 for ; Wed, 30 May 2007 12:17:10 +0100 Message-Id: <200705301117.l4UBH88X010726@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: test output to terminal dehackery In-reply-to: <070530040340.ZM30303@torch.brasslantern.com> References: <200705291443.l4TEhemW027211@news01.csr.com> <070529202902.ZM13215@torch.brasslantern.com> <200705300949.l4U9nFw4009642@news01.csr.com> <070530040340.ZM30303@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Wed, 30 May 2007 04:03:40 -0700." Date: Wed, 30 May 2007 12:17:08 +0100 From: Peter Stephenson X-OriginalArrivalTime: 30 May 2007 11:17:10.0902 (UTC) FILETIME=[11246160:01C7A2AC] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-07-07-05 (www.mailcontrol.com) on 10.67.0.137 Bart Schaefer wrote: > The test suite should restrict itself only to the constructs that are > least likely to be affected by operating system and compiler portability > issues, so that it isn't necessary for a person building and testing on > a brand-new or otherwise unusual platform to fix an obscure or difficult > problem based on an unknown failure in a very complex piece of shell code > when there's a minimal example buried somewhere in the suite that might > immediately reveal the actual problem. > > The test suite isn't just about you or me finding something we broke in > development. That's fair enough, but I don't think a change in the redirection syntax qualifies as something likely to produce a portability problem. The underlying features used are the same; the addition is an internal shell parameter assignment (which had also better work). Unless you think using file descriptors over 10 is likely to be problematic? But the shell has used those internally for a long time. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview