summaryrefslogtreecommitdiffstats
path: root/test/efc.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-09-20 17:40:51 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-09-20 17:40:51 (GMT)
commit67a126c7ba8825ffb193c930c7b8cae939b3446d (patch)
treeeca9e38529355d2ec2a9c5fd934e7a9d9e4821b7 /test/efc.c
parent99299e195b5294549b75b28321ae7f8d2c6f8644 (diff)
downloadhdf5-67a126c7ba8825ffb193c930c7b8cae939b3446d.zip
hdf5-67a126c7ba8825ffb193c930c7b8cae939b3446d.tar.gz
hdf5-67a126c7ba8825ffb193c930c7b8cae939b3446d.tar.bz2
Normalization with vol_integration (test code and H5Xtest.c)
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() */