summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-08-23 13:22:17 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-23 13:38:33 -0400
commit81962dfa1b52e47d592d13b245ff42fe73a05dbb (patch)
treeb80fe08aeb4a1738b6b67eb5045751dd5e95004f /src/tests
parentf9bd541e371581a6c3b6fb953231c3bf102f5de6 (diff)
tests/eio: unlink tmpfiles after tests
Summary: my tmpdir is full of thousands of these things Depends on D9710 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9711
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eio/eio_test_eet.c2
-rw-r--r--src/tests/eio/eio_test_map.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/eio/eio_test_eet.c b/src/tests/eio/eio_test_eet.c
index fbd6441ff1..94f319a6d2 100644
--- a/src/tests/eio/eio_test_eet.c
+++ b/src/tests/eio/eio_test_eet.c
@@ -104,6 +104,7 @@ EFL_START_TEST(eio_test_eet_cipher_decipher)
104 ecore_main_loop_begin(); 104 ecore_main_loop_begin();
105 fail_if(!ef); 105 fail_if(!ef);
106 106
107 unlink(file);
107 eina_tmpstr_del(file); 108 eina_tmpstr_del(file);
108 eet_shutdown(); 109 eet_shutdown();
109} 110}
@@ -197,6 +198,7 @@ EFL_START_TEST(eio_test_eet_data_cipher_decipher)
197 ecore_main_loop_begin(); 198 ecore_main_loop_begin();
198 fail_if(!ef); 199 fail_if(!ef);
199 200
201 unlink(file);
200 eina_tmpstr_del(file); 202 eina_tmpstr_del(file);
201 eet_shutdown(); 203 eet_shutdown();
202} 204}
diff --git a/src/tests/eio/eio_test_map.c b/src/tests/eio/eio_test_map.c
index abfb80f23a..fdb0631a9d 100644
--- a/src/tests/eio/eio_test_map.c
+++ b/src/tests/eio/eio_test_map.c
@@ -84,6 +84,7 @@ EFL_START_TEST(eio_test_map_simple)
84 ecore_main_loop_begin(); 84 ecore_main_loop_begin();
85 fail_if(!ef); 85 fail_if(!ef);
86 86
87 unlink(file_path);
87 eina_tmpstr_del(file_path); 88 eina_tmpstr_del(file_path);
88} 89}
89EFL_END_TEST 90EFL_END_TEST