[ovs-dev] [PATCH] tests: Tolerate ignored SIGPIPE in daemon tests.
Ben Pfaff
blp at nicira.com
Thu Jun 24 13:07:23 PDT 2010
On Wed, Jun 23, 2010 at 04:28:02PM -0700, Jesse Gross wrote:
> On Wed, Jun 23, 2010 at 12:30 PM, Ben Pfaff <blp at nicira.com> wrote:
>
> > I noticed that when I run "make check" inside an Emacs compile-mode buffer,
> > the "daemon --detach closes standard fds" and "daemon --detach --monitor
> > closes
> > standard fds" tests failed. Investigation showed that Emacs ignores
> > SIGPIPE in the compile subprocess, which caused the "yes" process in these
> > tests to emit the message "yes: Broken pipe" and exit with status 1 instead
> > of dying from SIGPIPE.
> >
> > This commit changes these tests to allow either behavior.
>
> Looks good.
Thanks, I pushed this out.
More information about the dev
mailing list