summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2018-04-24 14:25:49 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit994448edc422ddec3aec9ae2b8855b979f0ccd26 (patch)
tree5829aae03f43b3aef5f13268ca84a6187b595f85 /src/tests/eio
parentdb589dd63025c7ec25cb483491ef6e8262ac5300 (diff)
eio: fix tests to properly process things as array not accessor.
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/eio_test_manager_xattr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tests/eio/eio_test_manager_xattr.c b/src/tests/eio/eio_test_manager_xattr.c
index 698843e4c3..14edd3e67c 100644
--- a/src/tests/eio/eio_test_manager_xattr.c
+++ b/src/tests/eio/eio_test_manager_xattr.c
@@ -36,13 +36,14 @@ static const char *attr_data[] =
36int total_attributes = sizeof(attribute)/sizeof(attribute[0]); 36int total_attributes = sizeof(attribute)/sizeof(attribute[0]);
37 37
38static void 38static void
39_main_cb(void *data, Eina_Accessor *access) 39_main_cb(void *data, Eina_Array *array)
40{ 40{
41 const char* attr; 41 const char* attr;
42 int *num_of_attr = (int *)data; 42 int *num_of_attr = (int *)data;
43 unsigned int count; 43 Eina_Array_Iterator iterator;
44 unsigned int j;
44 45
45 EINA_ACCESSOR_FOREACH(access, count, attr) 46 EINA_ARRAY_ITER_NEXT(array, j, attr, iterator)
46 { 47 {
47 unsigned int i; 48 unsigned int i;
48 49