[ovs-git] Open vSwitch: tests: Tolerate ignored SIGPIPE in daemon tests. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jun 24 20:07:11 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  cfcef6b2463a9cf207fdc12953c51043a3a687e8 (commit)
      from  26b3154062489a3d3b87b28750f543e9ded43efa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit cfcef6b2463a9cf207fdc12953c51043a3a687e8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cfcef6b2463a9cf207fdc12953c51043a3a687e8
Author: Ben Pfaff <blp at nicira.com>
		
tests: Tolerate ignored SIGPIPE in daemon tests.
		
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.


-----------------------------------------------------------------------

Summary of changes:
 tests/daemon.at |   28 ++++++++++++++++++++++++----
 1 files changed, 24 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list