summaryrefslogtreecommitdiff
path: root/src/tests/eio/eio_test_xattr.c
diff options
context:
space:
mode:
authorvivek <vivek.ellur@samsung.com>2015-05-06 08:32:04 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2015-05-06 08:42:55 +0200
commit400436cd1af6aef8892ac899eb0844892fc5e54c (patch)
tree03776ffeed6f7508916ba27f18c147b3f05f96a7 /src/tests/eio/eio_test_xattr.c
parent26ebd007af719bda591c2cf125ae0afc8cef4777 (diff)
eina_xattr: Fixed T2381, eina xattr tests failing
Summary: This fixes the case where the system runs with SELinux enabled and enforced. In this scenario the system does add a selinux attribute to new files which we need to handle during our testing. @Fix Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric, stefan_schmidt Subscribers: stefan_schmidt, cedric Maniphest Tasks: T2381 Differential Revision: https://phab.enlightenment.org/D2467
Diffstat (limited to '')
-rw-r--r--src/tests/eio/eio_test_xattr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/eio/eio_test_xattr.c b/src/tests/eio/eio_test_xattr.c
index b832eb001e..dfc5894045 100644
--- a/src/tests/eio/eio_test_xattr.c
+++ b/src/tests/eio/eio_test_xattr.c
@@ -58,10 +58,10 @@ _main_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, const char *attr
58 58
59 for (i = 0; i < sizeof (attribute) / sizeof (attribute[0]); ++i) 59 for (i = 0; i < sizeof (attribute) / sizeof (attribute[0]); ++i)
60 if (strcmp(attr, attribute[i]) == 0) 60 if (strcmp(attr, attribute[i]) == 0)
61 break; 61 {
62 62 (*num_of_attr)++;
63 fail_if(i == sizeof (attribute) / sizeof (attribute[0])); 63 break;
64 (*num_of_attr)++; 64 }
65} 65}
66 66
67static void 67static void