summaryrefslogtreecommitdiff
path: root/src/tests/eina/eina_test_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eina/eina_test_file.c')
-rw-r--r--src/tests/eina/eina_test_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/eina/eina_test_file.c b/src/tests/eina/eina_test_file.c
index 8ef3d1a290..ccd6e55ca5 100644
--- a/src/tests/eina/eina_test_file.c
+++ b/src/tests/eina/eina_test_file.c
@@ -814,7 +814,7 @@ EFL_START_TEST(eina_test_file_mktemp)
814 814
815 fd = eina_file_mkstemp(buf, &tmpfile); 815 fd = eina_file_mkstemp(buf, &tmpfile);
816 fail_if((fd < 0) || !tmpfile || errno); 816 fail_if((fd < 0) || !tmpfile || errno);
817 close(fd); 817 fail_if(close(fd));
818 818
819 it = eina_file_direct_ls(tmpdir); 819 it = eina_file_direct_ls(tmpdir);
820 fail_if(!it); 820 fail_if(!it);
@@ -825,8 +825,8 @@ EFL_START_TEST(eina_test_file_mktemp)
825 825
826 eina_iterator_free(it); 826 eina_iterator_free(it);
827 827
828 unlink(tmpfile); 828 fail_if(unlink(tmpfile));
829 remove(tmpdir); 829 fail_if(remove(tmpdir));
830} 830}
831EFL_END_TEST 831EFL_END_TEST
832 832