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

Ethan Glasser-Camp ethan.glasser.camp at gmail.com
Sat Oct 20 09:08:56 PDT 2012


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

> From: Tomi Ollila <too at 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


More information about the notmuch mailing list