diff options
author | hdftest <hdftest@hdfgroup.org> | 2018-09-20 19:59:17 (GMT) |
---|---|---|
committer | hdftest <hdftest@hdfgroup.org> | 2018-09-20 19:59:17 (GMT) |
commit | 04a2d68778bc978ac62b03b5b5bfa034e2ced7f7 (patch) | |
tree | 8eb0dde943224b0caed11dee349862ce7a9aefa6 /test/efc.c | |
parent | e2f6e6f62f8885e85540c870ff3e3370b7617c79 (diff) | |
parent | d3074fa8bd8cb5eb266741203b68ce9129c2d7dc (diff) | |
download | hdf5-04a2d68778bc978ac62b03b5b5bfa034e2ced7f7.zip hdf5-04a2d68778bc978ac62b03b5b5bfa034e2ced7f7.tar.gz hdf5-04a2d68778bc978ac62b03b5b5bfa034e2ced7f7.tar.bz2 |
Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~hdftest/hdf5_hft into develop
Diffstat (limited to 'test/efc.c')
-rw-r--r-- | test/efc.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -2885,8 +2885,7 @@ error: * * Purpose: Test the external file cache code * - * Return: Success: SUCCEED - * Failure: FAIL + * Return: EXIT_SUCCESS/EXIT_FAILURE * * Programmer: Neil Fortner * December 16, 2010 @@ -2900,7 +2899,7 @@ main(void) hbool_t api_ctx_pushed = FALSE; /* Whether API context pushed */ /* Test Setup */ - puts("Testing the external file cache"); + HDputs("Testing the external file cache"); /* Create property lists */ fcpl_id = H5Pcreate(H5P_FILE_CREATE); @@ -2937,14 +2936,14 @@ main(void) if(nerrors) goto error; - puts("All external file cache tests passed."); + HDputs("All external file cache tests passed."); h5_clean_files(FILENAME, fapl_id); - return 0; + return EXIT_SUCCESS; error: - puts("*** TESTS FAILED ***"); + HDputs("*** TESTS FAILED ***"); H5E_BEGIN_TRY { H5Pclose(fapl_id); @@ -2952,6 +2951,6 @@ error: if(api_ctx_pushed) H5CX_pop(); - return 1; + return EXIT_FAILURE; } /* end main() */ |