From 1d6eccc69e3c8c7b3d3d1b7f24bba4554b3f42ed Mon Sep 17 00:00:00 2001 From: Snaipe Date: Thu, 5 Feb 2015 18:17:11 +0100 Subject: [PATCH] Test worker should bypass atexit hooks --- src/runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner.c b/src/runner.c index 732b20d..e4f2895 100644 --- a/src/runner.c +++ b/src/runner.c @@ -125,7 +125,7 @@ static void run_test(struct criterion_test *test) { setup_child(&fds); run_test_child(test); - exit(0); + _exit(0); } else { struct criterion_test_stats stats = { .test = test }; close(fds.out);