From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24043 invoked from network); 30 May 2007 03:29:27 -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 03:29:27 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 78110 invoked from network); 30 May 2007 03:29:21 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 May 2007 03:29:21 -0000 Received: (qmail 23643 invoked by alias); 30 May 2007 03:29:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23491 Received: (qmail 23634 invoked from network); 30 May 2007 03:29:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 30 May 2007 03:29:17 -0000 Received: (qmail 77710 invoked from network); 30 May 2007 03:29:17 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 30 May 2007 03:29:09 -0000 Received: from torch.brasslantern.com ([71.116.88.130]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JIU00J944CFADP0@vms044.mailsrvcs.net> for zsh-workers@sunsite.dk; Tue, 29 May 2007 22:29:03 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id l4U3T2Pf013217 for ; Tue, 29 May 2007 20:29:02 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l4U3T28P013216 for zsh-workers@sunsite.dk; Tue, 29 May 2007 20:29:02 -0700 Date: Tue, 29 May 2007 20:29:02 -0700 From: Bart Schaefer Subject: Re: PATCH: test output to terminal dehackery In-reply-to: <200705291443.l4TEhemW027211@news01.csr.com> To: zsh-workers@sunsite.dk (Zsh hackers list) Message-id: <070529202902.ZM13215@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <200705291443.l4TEhemW027211@news01.csr.com> Comments: In reply to Peter Stephenson "PATCH: test output to terminal dehackery" (May 29, 3:43pm) On May 29, 3:43pm, Peter Stephenson wrote: } } We now have the technology to open a file descriptor for test input and } terminal output without using up one of the standard shell ones. } The {fd} syntax opens up an unused fd from 10 on. Hrm. I'm ambivalent about this patch. The {fd}< syntax is one of the things that gets tested for correctness quite a bit later on. If it doesn't work properly here, could the whole test suite fail? That is, I'm wondering if the implementation of the test suite should restrict itself to the most basic shell operations possible and only the tests themselves employ extended functionality. There's a reason e.g. we don't attempt completion tests until after we've tested module loading ... However, I won't make a fuss if no one else cares.