path: root/
diff options
authorvivek <>2015-03-06 16:19:13 +0100
committerCedric BAIL <>2015-03-06 20:19:21 +0100
commita6b5ee94f0b4f01f88a038574ee75ed8ab98694b (patch)
tree5e1295abd2209cb8a89ecd8b977876e179ddbc46 /
parent5b274257822c706608eb8d8a325b71e5727e4e94 (diff)
eina: add test cases for eina_xattr functions.
Summary: Add eina_test_xattr.c file for testing eina xattr functions and added test cases for eina_xattr_set and eina_xattr_fd_set functions. Those tests need a directory where the underlying file system allow xattr. Usually /tmp is running on tmpfs that doesn't support today xattr. This test won't be run if we are not provided with an existing proper directory. Signed-off-by: vivek <> Reviewers: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
Diffstat (limited to '')
1 files changed, 3 insertions, 0 deletions
diff --git a/ b/
index 90a5c6d85b..82da49dc8d 100644
--- a/
+++ b/
@@ -854,6 +854,9 @@ AC_ARG_ENABLE([magic-debug],
854 854
855EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"]) 855EINA_CONFIG([MAGIC_DEBUG], [test "x${have_magic_debug}" = "xyes"])
856 856
858 [AS_HELP_STRING([--with-xattr-tests-path=DIR],[path of xattr enabled directory to create test files])],[XATTR_TEST_DIR=${withval}][AC_DEFINE_UNQUOTED([XATTR_TEST_DIR],["$withval"], [xattr enabled directory])])
857### Checks for programs 860### Checks for programs
858 861
859### Checks for libraries 862### Checks for libraries