summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-06-10 12:30:48 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-17 13:37:26 +0200
commitb3bc1240a6c019842a7a3e0fbb8a7a99168020ea (patch)
treead56c488e6c6367218152bd84824aa53117561f3
parentbdd439875bee0f046897fd65b6d756e7cced66f6 (diff)
tests: eio: make sure we check return value
Make sure we fail the test if the call does not succeed. CID: 1412364 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11963
-rw-r--r--src/tests/eio/eio_test_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eio/eio_test_manager.c b/src/tests/eio/eio_test_manager.c
index fb6c7f4054..a12b9e7a78 100644
--- a/src/tests/eio/eio_test_manager.c
+++ b/src/tests/eio/eio_test_manager.c
@@ -89,7 +89,7 @@ _done_cb(void *data,
89 89
90 eina_value_setup(&convert, EINA_VALUE_TYPE_ULONG); 90 eina_value_setup(&convert, EINA_VALUE_TYPE_ULONG);
91 eina_value_convert(&file, &convert); 91 eina_value_convert(&file, &convert);
92 eina_value_ulong_get(&convert, &files_count); 92 fail_unless(eina_value_ulong_get(&convert, &files_count));
93 93
94 fail_if((*number_of_listed_files) != test_count); 94 fail_if((*number_of_listed_files) != test_count);
95 fail_if(files_count != test_count); 95 fail_if(files_count != test_count);