diff options
author | James Page <james.page@ubuntu.com> | 2013-06-20 22:31:52 +0100 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-06-20 15:51:59 -0700 |
commit | c0068e4dbd515751a7d8ca94a5fc9c56f3f52de8 (patch) | |
tree | f3da15b01285206273f40d6ac0d3d944d0b53062 /m4 | |
parent | 6b54845f8f0f37c74abd61a81f363e208047e364 (diff) |
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@ubuntu.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions