summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-12-19 12:04:24 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-12-19 16:33:46 -0800
commita7e0f26e1b5213cba83317ee12549ecdd758ee83 (patch)
tree8672c165919892dd37414df305658b50d0f1313f /src/tests/eio
parent7bb229d4be23ffcc4947b453880a5c0f9f7a12c6 (diff)
eio: correctly compar double in xattr test.
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/eio_test_xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eio/eio_test_xattr.c b/src/tests/eio/eio_test_xattr.c
index b4a843ea10..4fdbfc94de 100644
--- a/src/tests/eio/eio_test_xattr.c
+++ b/src/tests/eio/eio_test_xattr.c
@@ -115,7 +115,7 @@ _done_int_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int xattr_in
115static void 115static void
116_done_double_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, double xattr_double) 116_done_double_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, double xattr_double)
117{ 117{
118 fail_if(xattr_double != double_data); 118 fail_if(!EINA_DBL_CMP(xattr_double, double_data));
119 119
120 ecore_main_loop_quit(); 120 ecore_main_loop_quit();
121} 121}