forked from enlightenment/efl
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:
parent
42704eccc7
commit
f9bd541e37
|
@ -144,11 +144,10 @@ _children_get(void *data,
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
if ((fd = eina_file_mkstemp("prefixXXXXXX.ext", &temp_filename)) > 0)
|
fd = eina_file_mkstemp("prefixXXXXXX.ext", &temp_filename);
|
||||||
{
|
ck_assert_int_gt(fd, 0);
|
||||||
close(fd);
|
close(fd);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
started_up = EINA_TRUE;
|
started_up = EINA_TRUE;
|
||||||
|
|
||||||
return v;
|
return v;
|
||||||
|
|
Loading…
Reference in New Issue