summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/eina/eina_test_file.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tests/eina/eina_test_file.c b/src/tests/eina/eina_test_file.c
index 36817eb01f..a76d17c746 100644
--- a/src/tests/eina/eina_test_file.c
+++ b/src/tests/eina/eina_test_file.c
@@ -489,12 +489,17 @@ EFL_END_TEST
489static void * 489static void *
490_eina_test_file_thread(void *data EINA_UNUSED, Eina_Thread t EINA_UNUSED) 490_eina_test_file_thread(void *data EINA_UNUSED, Eina_Thread t EINA_UNUSED)
491{ 491{
492#ifdef _WIN32
493 const char *filename = "cmd.exe";
494#else
495 const char *filename = "/bin/sh";
496#endif
492 Eina_File *f; 497 Eina_File *f;
493 unsigned int i; 498 unsigned int i;
494 499
495 for (i = 0; i < 100; ++i) 500 for (i = 0; i < 100; ++i)
496 { 501 {
497 f = eina_file_open("/bin/sh", EINA_FALSE); 502 f = eina_file_open(filename, EINA_FALSE);
498 fail_if(!f); 503 fail_if(!f);
499 eina_file_close(f); 504 eina_file_close(f);
500 } 505 }