summaryrefslogtreecommitdiff
path: root/src/tests/ecore_con
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 09:25:04 -0400
commite5c1eb57471b39208e578dac434bf71198f0373e (patch)
tree7648bdfd81b33d1fd9d82a8a3891d89a6dc41ff3 /src/tests/ecore_con
parent1f1f0f75c0d3f51fb043319516ab6d43f1cb347d (diff)
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
Diffstat (limited to 'src/tests/ecore_con')
-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 bdf26f0..6955248 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)
259 259
260 ecore_con_url_verbose_set(url, EINA_TRUE); 260 ecore_con_url_verbose_set(url, EINA_TRUE);
261 261
262 fail_unless (ecore_con_url_url_get(url));
262 fail_if (strcmp(ecore_con_url_url_get(url), link)); 263 fail_if (strcmp(ecore_con_url_url_get(url), link));
263 264
264 ecore_con_url_data_set(url, url_data); 265 ecore_con_url_data_set(url, url_data);
266 fail_unless (ecore_con_url_data_get(url));
265 fail_if (strcmp(ecore_con_url_data_get(url), url_data)); 267 fail_if (strcmp(ecore_con_url_data_get(url), url_data));
266 268
267 info = (url_test *) malloc(sizeof(url_test)); 269 info = (url_test *) malloc(sizeof(url_test));