diff options
Diffstat (limited to 'tests/openpgp-callback.c')
-rw-r--r-- | tests/openpgp-callback.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/tests/openpgp-callback.c b/tests/openpgp-callback.c index d93c283d3d..c3f2c4cb17 100644 --- a/tests/openpgp-callback.c +++ b/tests/openpgp-callback.c @@ -467,20 +467,7 @@ void doit(void) /* parent */ client(sockets[0]); wait(&status); - -#if defined WIFEXITED && defined WEXITSTATUS - if (WIFEXITED(status) && WEXITSTATUS(status)) { - fail("server: client failed with exit status %d\n", - WEXITSTATUS(status)); - } -#endif - -#if defined WIFSIGNALED && defined WTERMSIG - if (WIFSIGNALED(status)) { - fail("server: client failed with fatal signal %d\n", WTERMSIG(status)); - } -#endif - + check_wait_status(status); } else server(sockets[1]); } |