queue-test: WEXITSTATUS() is undefined if WIFEXITED() is false
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Feb 2013 16:38:59 +0000 (11:38 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Feb 2013 16:38:59 +0000 (11:38 -0500)
commitadcb2d73b3377c749efcae5ae0e5471e10b6646f
treee79d696f05a4a0b375b316dacc8ab0b0410db916
parentf02f82ef7802c4961c784121c4475e8958c8e41f
queue-test: WEXITSTATUS() is undefined if WIFEXITED() is false

If a child process dies from a signal, WIFEXITED() returns false and
WEXITSTATUS() isn't well-defined.  In this case, if the client segfaults,
the status is 134 and WEXITSTATUS(134) is EXIT_SUCCESS, so we mask the error.
tests/queue-test.c