Re: [PATCH V3 1/2] test/smtp-dummy: add --background option and functionality

Subject: Re: [PATCH V3 1/2] test/smtp-dummy: add --background option and functionality

Date: Sat, 20 Oct 2012 12:08:56 -0400

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: Tomi Ollila

From: Ethan Glasser-Camp


Tomi Ollila <tomi.ollila@iki.fi> writes:

> From: Tomi Ollila <too@iki.fi>
>
> When shell executes background process using '&' the scheduling of
> that new process is arbitrary. It could be that smtp-dummy doesn't
> get execution time to listen() it's server socket until some other
> process attempts to connect() to it. The --background option in
> smtp-dummy makes it to go background *after* it started to listen
> its server socket.

This looks fine to me, Michal Sojka's reviewed this version, and this
patch has been bouncing around for almost a year! I'm taking off
needs-review.

Ethan

Thread: