summaryrefslogtreecommitdiff
path: root/src/tests/eio/eio_test_xattr.c
diff options
context:
space:
mode:
authorvivek <vivek.ellur@samsung.com>2015-04-28 11:09:47 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-28 11:37:11 +0200
commit254aac64a1fabcf8f986e3e73072ad2419a2cd12 (patch)
tree89200512c4c68c46482fc227e4bcaaf98b228f95 /src/tests/eio/eio_test_xattr.c
parentb869a4e02c949059af29dbc1c69216deb34c443d (diff)
eio: fix compilation warnings in eio_test_xattr.c when xattr tests are disabled.
Summary: Signed-off-by: vivek <vivek.ellur@samsung.com> Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2438 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/tests/eio/eio_test_xattr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/eio/eio_test_xattr.c b/src/tests/eio/eio_test_xattr.c
index f28d04f680..b832eb001e 100644
--- a/src/tests/eio/eio_test_xattr.c
+++ b/src/tests/eio/eio_test_xattr.c
@@ -13,6 +13,9 @@
13 13
14#include "eio_suite.h" 14#include "eio_suite.h"
15 15
16
17#ifdef XATTR_TEST_DIR
18
16static char *str_attr = "user.name"; 19static char *str_attr = "user.name";
17static char *str_data = "Vivek Ellur"; 20static char *str_data = "Vivek Ellur";
18static char *int_attr = "user.id"; 21static char *int_attr = "user.id";
@@ -125,7 +128,6 @@ _error_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int error)
125 ecore_main_loop_quit(); 128 ecore_main_loop_quit();
126} 129}
127 130
128#ifdef XATTR_TEST_DIR
129START_TEST(eio_test_xattr_set) 131START_TEST(eio_test_xattr_set)
130{ 132{
131 char *filename = "eio-tmpfile"; 133 char *filename = "eio-tmpfile";