From 0782f9a89dbdfbfd8d5587106c6ea50aae1e92cf Mon Sep 17 00:00:00 2001 From: Snaipe Date: Thu, 9 Apr 2015 22:28:08 +0200 Subject: [PATCH] [Issue #11] Fixed coverage not being made for forked children --- src/runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner.c b/src/runner.c index 8c84b1e..e8f7a0d 100644 --- a/src/runner.c +++ b/src/runner.c @@ -223,7 +223,7 @@ int criterion_run_all_tests(void) { unset_runner_process(); if (res == -1) // if this is the test worker terminating - _Exit(0); + exit(0); return criterion_options.always_succeed || res; }