summaryrefslogtreecommitdiff
path: root/tests/client-fastopen.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-08-08 11:49:04 +0200
committerGitLab <gitlab@gitlab.com>2016-08-09 06:01:35 +0000
commit2124f87dcd1acee4e2e04702469e16bc8da03edb (patch)
tree7d4c2910ca9a20d216d97c32328ece060f8340a8 /tests/client-fastopen.c
parentbcbf2dd69715c5fba7c760406f644a27d5dbcc64 (diff)
downloadgnutls-2124f87dcd1acee4e2e04702469e16bc8da03edb.tar.gz
tests: moved child status error checking code in utils.h
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 863f12a19e..9211c44a7c 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);