diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-08-08 11:49:04 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-08-08 12:16:58 +0200 |
commit | 5a86a16bdd14b6a4091671c4bfebc2e593cf1573 (patch) | |
tree | 3107c17ca7628a02e9d2b81964fc38fa9ae28469 /tests/client-fastopen.c | |
parent | a30a5359f9dd55e31d97925dfcf45f12ecaae37c (diff) | |
download | gnutls-5a86a16bdd14b6a4091671c4bfebc2e593cf1573.tar.gz |
tests: moved child status error checking code in utils.htests-error-checking
Diffstat (limited to 'tests/client-fastopen.c')
-rw-r--r-- | tests/client-fastopen.c | 4 |
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); |