From: Wolfgang Denk Date: Thu, 09 Aug 2012 22:39:20 +0200 Subject: [U-Boot] Sandbox: auto exiting on pipe closure In-Reply-To: <201204231751.24880.vapier@gentoo.org> References: <20120423064108.CEC51200261@gemini.denx.de> <201204231751.24880.vapier@gentoo.org> Message-ID: <20120809203920.D189420401A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <201204231751.24880.vapier@gentoo.org> you 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? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de What the gods would destroy they first submit to an IEEE standards committee.