diff options
Diffstat (limited to 'tests/resume.c')
-rw-r--r-- | tests/resume.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/resume.c b/tests/resume.c index ed4f8aa6d2..21455a4f2d 100644 --- a/tests/resume.c +++ b/tests/resume.c @@ -693,8 +693,7 @@ void doit(void) server(server_sds, &resume_tests[i]); waitpid(child, &status, 0); - if (WEXITSTATUS(status) != 0 || (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV)) - exit(1); + check_wait_status(status); global_stop(); } else { for (j = 0; j < SESSIONS; j++) |