zmike pushed a commit to branch efl-1.22.

http://git.enlightenment.org/core/efl.git/commit/?id=c4bd6721958f025d0389b2c8f717199388672be0

commit c4bd6721958f025d0389b2c8f717199388672be0
Author: Cedric BAIL <cedric.b...@free.fr>
Date:   Tue Apr 23 09:56:09 2019 -0700

    eio: do not fail when the future has been cancelled properly.
    
    Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D8691
---
 src/tests/eio/efl_io_model_test_monitor_add.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/tests/eio/efl_io_model_test_monitor_add.c 
b/src/tests/eio/efl_io_model_test_monitor_add.c
index 041a44a5a9..f7a15cfa1a 100644
--- a/src/tests/eio/efl_io_model_test_monitor_add.c
+++ b/src/tests/eio/efl_io_model_test_monitor_add.c
@@ -58,7 +58,8 @@ _children_got(Eo *o, void *data EINA_UNUSED, const Eina_Value 
v)
 static Eina_Value
 _children_failed(Eo *o EINA_UNUSED, void *data EINA_UNUSED, const Eina_Error 
err)
 {
-   ck_abort_msg( "Failed to get the child with '%s'.\n", 
eina_error_msg_get(err));
+   if (err != ECANCELED)
+     ck_abort_msg( "Failed to get the child with '%s'.\n", 
eina_error_msg_get(err));
    return eina_value_error_init(err);
 }
 

-- 


Reply via email to