[U-Boot] Sandbox: auto exiting on pipe closure

Wolfgang Denk wd at denx.de
Thu Aug 9 22:39:20 CEST 2012


Dear Mike Frysinger,

In message <201204231751.24880.vapier at 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 <<<help
> 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.


More information about the U-Boot mailing list