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>
Thu, 14 Feb 2013 19:24:01 +0000 (14:24 -0500)
commita02fdef0d9a34d13927cff5707024366805a78c1
treeef4ccda549812a9fc70a4343d7ffe9ec51377021
parenta98cfc029bd4ce9ce0b60c73ee192ec75273a8d5
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