summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-08-23 13:22:11 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-23 13:38:33 -0400
commitf9bd541e371581a6c3b6fb953231c3bf102f5de6 (patch)
treed63c949c37c7628f67faf4ec6f5115696986f197 /src/tests
parent42704eccc782d460d997630e9ab774833704c741 (diff)
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
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eio/efl_io_model_test_monitor_add.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tests/eio/efl_io_model_test_monitor_add.c b/src/tests/eio/efl_io_model_test_monitor_add.c
index f7a15cfa1a..3a4cba2577 100644
--- a/src/tests/eio/efl_io_model_test_monitor_add.c
+++ b/src/tests/eio/efl_io_model_test_monitor_add.c
@@ -144,10 +144,9 @@ _children_get(void *data,
144 { 144 {
145 int fd; 145 int fd;
146 146
147 if ((fd = eina_file_mkstemp("prefixXXXXXX.ext", &temp_filename)) > 0) 147 fd = eina_file_mkstemp("prefixXXXXXX.ext", &temp_filename);
148 { 148 ck_assert_int_gt(fd, 0);
149 close(fd); 149 close(fd);
150 }
151 } 150 }
152 started_up = EINA_TRUE; 151 started_up = EINA_TRUE;
153 152