summaryrefslogtreecommitdiff
path: root/tests/resume.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/resume.c
parentbcbf2dd69715c5fba7c760406f644a27d5dbcc64 (diff)
downloadgnutls-2124f87dcd1acee4e2e04702469e16bc8da03edb.tar.gz
tests: moved child status error checking code in utils.h
Diffstat (limited to 'tests/resume.c')
-rw-r--r--tests/resume.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/resume.c b/tests/resume.c
index ed4f8aa6d2..21455a4f2d 100644
--- a/tests/resume.c
+++ b/tests/resume.c
@@ -693,8 +693,7 @@ void doit(void)
server(server_sds, &resume_tests[i]);
waitpid(child, &status, 0);
- if (WEXITSTATUS(status) != 0 || (WIFSIGNALED(status) && WTERMSIG(status) == SIGSEGV))
- exit(1);
+ check_wait_status(status);
global_stop();
} else {
for (j = 0; j < SESSIONS; j++)