summaryrefslogtreecommitdiff
path: root/tests/srp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/srp.c')
-rw-r--r--tests/srp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/srp.c b/tests/srp.c
index 35b42e0631..753e0037e8 100644
--- a/tests/srp.c
+++ b/tests/srp.c
@@ -289,9 +289,7 @@ static void start(const char *prio)
/* parent */
server(fd[0], prio);
wait(&status);
- if (WEXITSTATUS(status) != 0)
- fail("Child died with status %d\n",
- WEXITSTATUS(status));
+ check_wait_status(status);
} else {
client(fd[1], prio);
exit(0);