tests/eio: verify that the model monitor test's file is successfully created

Summary:
if this fails then the test will hang until timeout, so catch it earlier
Depends on D9709

Reviewers: cedric

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9710
This commit is contained in:
Mike Blumenkrantz 2019-08-23 13:22:11 -04:00
parent 42704eccc7
commit f9bd541e37
1 changed files with 3 additions and 4 deletions

View File

@ -144,10 +144,9 @@ _children_get(void *data,
{
int fd;
if ((fd = eina_file_mkstemp("prefixXXXXXX.ext", &temp_filename)) > 0)
{
close(fd);
}
fd = eina_file_mkstemp("prefixXXXXXX.ext", &temp_filename);
ck_assert_int_gt(fd, 0);
close(fd);
}
started_up = EINA_TRUE;