stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b3bc1240a6c019842a7a3e0fbb8a7a99168020ea

commit b3bc1240a6c019842a7a3e0fbb8a7a99168020ea
Author: Stefan Schmidt <[email protected]>
Date:   Wed Jun 10 12:30:48 2020 +0200

    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 <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11963
---
 src/tests/eio/eio_test_manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
 
         eina_value_setup(&convert, EINA_VALUE_TYPE_ULONG);
         eina_value_convert(&file, &convert);
-        eina_value_ulong_get(&convert, &files_count);
+        fail_unless(eina_value_ulong_get(&convert, &files_count));
 
         fail_if((*number_of_listed_files) != test_count);
         fail_if(files_count != test_count);

-- 


Reply via email to