tests/unix: Don't error immediately on timeout
authorColin Walters <walters@verbum.org>
Mon, 22 Jul 2013 18:31:35 +0000 (19:31 +0100)
committerColin Walters <walters@verbum.org>
Tue, 23 Jul 2013 18:43:38 +0000 (14:43 -0400)
commitbaf7f1e23e4c924049e75fe11ea029846c03706d
treef3366b7cc0c9eddb78174f2dda395ba1efea5091
parent2e471acfcabef4bbf50ce29dc9cd157263e646f0
tests/unix: Don't error immediately on timeout

On a heavily loaded system, it's possible that both our normal
condition *and* the timeout occurred.  In that case we can just ignore
the timeout.

While I did add a "sig_timeout" boolean, we don't need to add any
assertions around whether or not it was reached - the assertions
covering the non-timeout case are sufficient.  The sig_timeout boolean
is mainly for later debugging.

https://bugzilla.gnome.org/show_bug.cgi?id=700460
glib/tests/unix.c