diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-08-08 11:49:04 +0200 |
---|---|---|
committer | GitLab <gitlab@gitlab.com> | 2016-08-09 06:01:35 +0000 |
commit | 2124f87dcd1acee4e2e04702469e16bc8da03edb (patch) | |
tree | 7d4c2910ca9a20d216d97c32328ece060f8340a8 /tests/no-signal.c | |
parent | bcbf2dd69715c5fba7c760406f644a27d5dbcc64 (diff) | |
download | gnutls-2124f87dcd1acee4e2e04702469e16bc8da03edb.tar.gz |
tests: moved child status error checking code in utils.h
Diffstat (limited to 'tests/no-signal.c')
-rw-r--r-- | tests/no-signal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/no-signal.c b/tests/no-signal.c index 2fe2927368..0894632c8d 100644 --- a/tests/no-signal.c +++ b/tests/no-signal.c @@ -228,8 +228,7 @@ static void ch_handler(int sig) { int status = 0; wait(&status); - if (WEXITSTATUS(status) != 0) - fail("Child died with status %d\n", WEXITSTATUS(status)); + check_wait_status(status); return; } |