summaryrefslogtreecommitdiff
path: root/src/tests/eio/eio_test_xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eio/eio_test_xattr.c')
-rw-r--r--src/tests/eio/eio_test_xattr.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/tests/eio/eio_test_xattr.c b/src/tests/eio/eio_test_xattr.c
index a727d7db20..62b956af05 100644
--- a/src/tests/eio/eio_test_xattr.c
+++ b/src/tests/eio/eio_test_xattr.c
@@ -130,7 +130,7 @@ _error_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int error)
ecore_main_loop_quit();
}
-START_TEST(eio_test_xattr_set)
+EFL_START_TEST(eio_test_xattr_set)
{
char *filename = "eio-tmpfile";
Eina_Tmpstr *test_file_path;
@@ -138,10 +138,6 @@ START_TEST(eio_test_xattr_set)
int num_of_attr = 0, fd;
unsigned int i;
- ecore_init();
- eina_init();
- eio_init();
-
test_file_path = get_full_path(XATTR_TEST_DIR, filename);
fd = open(test_file_path,
O_WRONLY | O_CREAT | O_TRUNC,
@@ -182,13 +178,10 @@ START_TEST(eio_test_xattr_set)
close(fd);
unlink(test_file_path);
eina_tmpstr_del(test_file_path);
- eio_shutdown();
- eina_shutdown();
- ecore_shutdown();
}
-END_TEST
+EFL_END_TEST
-START_TEST(eio_test_xattr_types_set)
+EFL_START_TEST(eio_test_xattr_types_set)
{
char *filename = "eio-tmpfile";
@@ -196,10 +189,6 @@ START_TEST(eio_test_xattr_types_set)
int fd, num_of_attr=0;
Eio_File *fp;
- ecore_init();
- eina_init();
- eio_init();
-
test_file_path = get_full_path(XATTR_TEST_DIR, filename);
fd = open(test_file_path,
O_WRONLY | O_CREAT | O_TRUNC,
@@ -253,11 +242,8 @@ START_TEST(eio_test_xattr_types_set)
close(fd);
unlink(test_file_path);
eina_tmpstr_del(test_file_path);
- eio_shutdown();
- eina_shutdown();
- ecore_shutdown();
}
-END_TEST
+EFL_END_TEST
#endif
void eio_test_xattr(TCase *tc)