summaryrefslogtreecommitdiff
path: root/tests/alpn-server-prec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/alpn-server-prec.c')
-rw-r--r--tests/alpn-server-prec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/alpn-server-prec.c b/tests/alpn-server-prec.c
index 45938d73be..e8da9ebada 100644
--- a/tests/alpn-server-prec.c
+++ b/tests/alpn-server-prec.c
@@ -281,9 +281,7 @@ static void start(const char *p1, const char *p2, const char *cp1, const char *c
server(fd[0], p1, p2, expected);
wait(&status);
- if (WEXITSTATUS(status) != 0)
- fail("Child died with status %d\n",
- WEXITSTATUS(status));
+ check_wait_status(status);
} else {
close(fd[0]);
client(fd[1], cp1, "unknown/1.4", cp2);