From: Mike Frysinger Date: Thu, 9 Aug 2012 20:47:31 -0400 Subject: [U-Boot] Sandbox: auto exiting on pipe closure In-Reply-To: <20120809203920.D189420401A@gemini.denx.de> References: <20120423064108.CEC51200261@gemini.denx.de> <201204231751.24880.vapier@gentoo.org> <20120809203920.D189420401A@gemini.denx.de> Message-ID: <201208092047.32937.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 09 August 2012 16:39:20 Wolfgang Denk wrote: > Mike Frysinger wrote: > > On Monday 23 April 2012 02:41:08 Wolfgang Denk wrote: > > > 2) Sandbox does no handle EOF on stadin; this makes it impossible to > > > > > > use it in test scripts. For example, something like this should > > > > > > work: > > > $ echo printenv | ./u-boot > > > > > > [As woraround I have to use ``echo 'printenv;reset' | ./u-boot''; > > > this works, but is not really intuitive nore useful.] > > > > (raw) patch below handles that. it doesn't handle this though: > > ./u-boot << > > > but maybe i'm the only one who uses that form > > -mike > > Do you intend to submit this as a proper patch? it was meant as an RFC. no one was unhappy with it, so i'll clean it up and submit like normal. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: