projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb229d
)
eio: correctly compar double in xattr test.
author
Cedric BAIL
<cedric@osg.samsung.com>
Mon, 19 Dec 2016 20:04:24 +0000
(12:04 -0800)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Tue, 20 Dec 2016 00:33:46 +0000
(16:33 -0800)
src/tests/eio/eio_test_xattr.c
patch
|
blob
|
history
diff --git
a/src/tests/eio/eio_test_xattr.c
b/src/tests/eio/eio_test_xattr.c
index
b4a843e
..
4fdbfc9
100644
(file)
--- 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
static void
_done_double_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, double xattr_double)
{
- fail_if(
xattr_double != double_data
);
+ fail_if(
!EINA_DBL_CMP(xattr_double, double_data)
);
ecore_main_loop_quit();
}