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:
a7e0f26
)
eina: correctly compar double in eina xattr test.
author
Cedric BAIL
<cedric@osg.samsung.com>
Mon, 19 Dec 2016 20:04:48 +0000
(12:04 -0800)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Tue, 20 Dec 2016 00:33:46 +0000
(16:33 -0800)
src/tests/eina/eina_test_xattr.c
patch
|
blob
|
history
diff --git
a/src/tests/eina/eina_test_xattr.c
b/src/tests/eina/eina_test_xattr.c
index
858c6b5
..
17ecb3c
100644
(file)
--- a/
src/tests/eina/eina_test_xattr.c
+++ b/
src/tests/eina/eina_test_xattr.c
@@
-283,7
+283,7
@@
START_TEST(eina_test_xattr_types)
fail_if(ret != EINA_TRUE);
ret = eina_xattr_double_get(test_file_path, double_attr, &double_ret);
fail_if(ret != EINA_TRUE);
- fail_if(
double_data != double_ret
);
+ fail_if(
!EINA_DBL_CMP(double_data, double_ret)
);
close(fd);
unlink(test_file_path);