From 3bfb31c6fe5c999046fae094b25db6e15e99f2c1 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 23 Mar 2020 21:52:05 +0100 Subject: [PATCH] efl_check: unset the callback here this is needed in order to not accidently overwrite stack values. This never showed up while running the test suite, as erroring would have aborted anyways. However, when we are running with CK_FORK=no, this may leak into another test. Reviewed-by: Mike Blumenkrantz Differential Revision: https://phab.enlightenment.org/D11595 --- src/tests/efl_check.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/efl_check.h b/src/tests/efl_check.h index c66e321c97..a973250849 100644 --- a/src/tests/efl_check.h +++ b/src/tests/efl_check.h @@ -69,6 +69,7 @@ #define EXPECT_ERROR_END \ + eina_log_print_cb_set(NULL, NULL); \ ck_assert_int_eq(expect_error_start, EINA_TRUE); \ DISABLE_ABORT_ON_CRITICAL_END; \ } while(0)