summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-10-11 08:51:48 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-11 10:14:38 -0400
commit969a13c96ddac2a99db37b33f65dd44ea984da58 (patch)
tree7d10fe6b9d269745e4f14805d1530f5c97580b08
parent4505f5169c6834919641ecc30d8247ee850d7cc0 (diff)
downloadefl-969a13c96ddac2a99db37b33f65dd44ea984da58.tar.gz
ecore_con: do not crash in test if nothing is returned by Ecore_Con_Url.
Summary: Depends on D10362 Reviewers: zmike, bu5hm4n, segfaultxavi, stefan_schmidt Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10363
-rw-r--r--src/tests/ecore_con/ecore_con_test_ecore_con_url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/ecore_con/ecore_con_test_ecore_con_url.c b/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
index bdf26f07c3..69552485e9 100644
--- a/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
+++ b/src/tests/ecore_con/ecore_con_test_ecore_con_url.c
@@ -259,9 +259,11 @@ EFL_START_TEST(ecore_con_test_ecore_con_url_download)
ecore_con_url_verbose_set(url, EINA_TRUE);
+ fail_unless (ecore_con_url_url_get(url));
fail_if (strcmp(ecore_con_url_url_get(url), link));
ecore_con_url_data_set(url, url_data);
+ fail_unless (ecore_con_url_data_get(url));
fail_if (strcmp(ecore_con_url_data_get(url), url_data));
info = (url_test *) malloc(sizeof(url_test));