summaryrefslogtreecommitdiff
path: root/tests/prf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/prf.c')
-rw-r--r--tests/prf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/prf.c b/tests/prf.c
index d93bfaa737..5be9d420ca 100644
--- a/tests/prf.c
+++ b/tests/prf.c
@@ -442,9 +442,7 @@ static void start(void)
server(fd[0]);
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]);