From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21236 invoked by alias); 24 Mar 2015 04:45:17 -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: 34773 Received: (qmail 25850 invoked from network); 24 Mar 2015 04:45:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=n102eXSaVRia4j2xnuEu9dXP7QHLUnLzWuONNUjoDco=; b=lpCbDtrjH2dDyEhT+Vk22GI7QmwaKLrN8LhkeMEqbOx8BGB4OmbprznFLG8XAfdFiV v7+ETAL2F0Acy29QrM6ofdsQ8ocQOb2DgNWFuQBZkGP4mOKzvi9JMnTzKlYzhQCS8Vcg /O9CvW+NVT9MwPJKX9Q5tkeGYpwlVf9CQ9PDlCovVvrL4eJTP3oPKAvHhCsnRpb5GL3c y8k/bXNy55zu560xcetY1YGYpdAN3Uuv99AahP4G/zlODPF++j3e0Eron2pSguMM2HwX eaH0qV81Bxq23rSmXq2Y8G52c41CXVK6o48iQGxER8deDCfjMhyyJWXPh/zvn9A9t9wO zqDw== X-Gm-Message-State: ALoCoQmSx6VNv7dwUSiZKJGZByxl+erWO3MmNwa1mCq40xRbtlRlG/IjhKqnFPQOPrOIkIavv4Rc X-Received: by 10.182.144.136 with SMTP id sm8mr1827908obb.63.1427172309319; Mon, 23 Mar 2015 21:45:09 -0700 (PDT) From: Bart Schaefer Message-Id: <150323214506.ZM13999@torch.brasslantern.com> Date: Mon, 23 Mar 2015 21:45:06 -0700 In-Reply-To: <150323211241.ZM13580@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: Testing interactive features (Re: capturing output of !! not working)" (Mar 23, 9:12pm) References: <20150319105716.620cd931@pwslap01u.europe.root.pri> <20150319125351.1e270c2d@pwslap01u.europe.root.pri> <20150320105703.2754b6af@pwslap01u.europe.root.pri> <150320090420.ZM21908@torch.brasslantern.com> <20150322183556.1fa0f143@ntlworld.com> <150322162235.ZM1728@torch.brasslantern.com> <20150323213426.21fd79c8@ntlworld.com> <150323175445.ZM32519@torch.brasslantern.com> <150323211241.ZM13580@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Testing interactive features (Re: capturing output of !! not working) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 23, 9:12pm, Bart Schaefer wrote: } } ... a patch to comptest for the Test/X01* failure with no TTY. } } - (( first++ )) && read -t 0.011 -k 1 < /dev/null } + (( first++ )) && read -t 0.011 -u 0 -k 1 < /dev/null Well, that shuts up the error message, but it also causes the 0.011 second timeout to be ignored. The test still succeeds for me, but should get a more thorough examination. Maybe we just needed -u 0 *instead* of -t all along.