summaryrefslogtreecommitdiffstats
path: root/test/efc.c
diff options
context:
space:
mode:
authorhdftest <hdftest@hdfgroup.org>2018-09-20 19:59:17 (GMT)
committerhdftest <hdftest@hdfgroup.org>2018-09-20 19:59:17 (GMT)
commit04a2d68778bc978ac62b03b5b5bfa034e2ced7f7 (patch)
tree8eb0dde943224b0caed11dee349862ce7a9aefa6 /test/efc.c
parente2f6e6f62f8885e85540c870ff3e3370b7617c79 (diff)
parentd3074fa8bd8cb5eb266741203b68ce9129c2d7dc (diff)
downloadhdf5-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.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/efc.c b/test/efc.c
index 5a946bb..d63ef34 100644
--- a/test/efc.c
+++ b/test/efc.c
@@ -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() */