summaryrefslogtreecommitdiff
path: root/tests/client-fastopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/client-fastopen.c')
-rw-r--r--tests/client-fastopen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/client-fastopen.c b/tests/client-fastopen.c
index 507d425e13..3fa677a60c 100644
--- a/tests/client-fastopen.c
+++ b/tests/client-fastopen.c
@@ -298,9 +298,7 @@ void doit(void)
server(fd);
wait(&status);
- if (WEXITSTATUS(status) != 0)
- fail("Child died with status %d\n",
- WEXITSTATUS(status));
+ check_wait_status(status);
} else {
fd = socket(AF_INET, SOCK_STREAM, 0);