summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-04-23 09:56:09 -0700
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-04-27 19:56:32 +0200
commit5d512229cbbfb16b753e2b4c09eed5868f9d3994 (patch)
treeb64d63a4faef8db77cd82ef35f06cb8f411fae5c /src/tests/eio
parent60af61809858df8b0bbb2042a9ebb9b911331827 (diff)
eio: do not fail when the future has been cancelled properly.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8691
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/efl_io_model_test_monitor_add.c3
1 files changed, 2 insertions, 1 deletions
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)
58static Eina_Value 58static Eina_Value
59_children_failed(Eo *o EINA_UNUSED, void *data EINA_UNUSED, const Eina_Error err) 59_children_failed(Eo *o EINA_UNUSED, void *data EINA_UNUSED, const Eina_Error err)
60{ 60{
61 ck_abort_msg( "Failed to get the child with '%s'.\n", eina_error_msg_get(err)); 61 if (err != ECANCELED)
62 ck_abort_msg( "Failed to get the child with '%s'.\n", eina_error_msg_get(err));
62 return eina_value_error_init(err); 63 return eina_value_error_init(err);
63} 64}
64 65