about summary refs log tree commit diff
path: root/test/unittests/unit_preallocable.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-06-16 22:37:56 +0200
committerhexcoder- <heiko@hexco.de>2020-06-16 22:37:56 +0200
commita14f3c90a81e01f80623bc3642ab98ab9e488ecb (patch)
tree9b64f2317a6dba378e3df1b9e1733dc21bbd3df7 /test/unittests/unit_preallocable.c
parente05ed58bf8562d214fe2c2bb42c9a4f8503da63b (diff)
downloadafl++-a14f3c90a81e01f80623bc3642ab98ab9e488ecb.tar.gz
fix unit tests when exit is called at the end
Diffstat (limited to 'test/unittests/unit_preallocable.c')
-rw-r--r--test/unittests/unit_preallocable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unittests/unit_preallocable.c b/test/unittests/unit_preallocable.c
index 888bb485..a6c42bbb 100644
--- a/test/unittests/unit_preallocable.c
+++ b/test/unittests/unit_preallocable.c
@@ -109,6 +109,6 @@ int main(int argc, char **argv) {
 	};
 
     //return cmocka_run_group_tests (tests, setup, teardown);
-    return cmocka_run_group_tests (tests, NULL, NULL);
+    __real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
 
 }