[ovs-git] Open vSwitch: tests: Tolerate init process pid != 1. (branch-1.10)

dev at openvswitch.org dev at openvswitch.org
Thu Jun 20 22:52:02 UTC 2013


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, branch-1.10 has been updated
       via  c0068e4dbd515751a7d8ca94a5fc9c56f3f52de8 (commit)
      from  6b54845f8f0f37c74abd61a81f363e208047e364 (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 c0068e4dbd515751a7d8ca94a5fc9c56f3f52de8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c0068e4dbd515751a7d8ca94a5fc9c56f3f52de8
Author: James Page <james.page at ubuntu.com>
		
tests: Tolerate init process pid != 1.
		
On Ubuntu Saucy based desktops, upstart runs with user sessions
enabled which means that the init process under which a daemon
might run is not always pid = 1.

Instead of checking for pid = 1, check to ensure that the parent
pid of the monitor is not the pid of the shell that started it.

Signed-off-by: James Page <james.page at ubuntu.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

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


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list