summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/version_bounds_1_10.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/version_bounds_1_10.c b/test/version_bounds_1_10.c
index 46e17a1..e07938c 100644
--- a/test/version_bounds_1_10.c
+++ b/test/version_bounds_1_10.c
@@ -13,7 +13,7 @@
/***********************************************************
*
-* Test program: tverbounds110
+* Test program: version_bounds_1_10.c
*
* Test 1.10 compatibility with version bounds for files
* generated by gen_bounds.c in develop branch.
@@ -144,7 +144,7 @@ error:
* the selection due to point selection version 2
*
***********************************************************************/
-static int
+static herr_t
test_sel_bounds(const char *filename)
{
hid_t fid = H5I_INVALID_HID;
@@ -200,14 +200,14 @@ test_sel_bounds(const char *filename)
TEST_ERROR
PASSED();
- return 0;
+ return SUCCEED;
error:
H5E_BEGIN_TRY {
H5Fclose(fid);
} H5E_END_TRY;
- return -1;
+ return FAIL;
} /* test_sel_bounds() */
/***********************************************************************
@@ -262,7 +262,7 @@ error:
* --if existed, succeed to open the dataset
*
***********************************************************************/
-static int
+static herr_t
test_ref_bounds(const char *filename)
{
const char *path;
@@ -296,14 +296,14 @@ test_ref_bounds(const char *filename)
TEST_ERROR
PASSED();
- return 0;
+ return SUCCEED;
error:
H5E_BEGIN_TRY {
H5Fclose(fid);
} H5E_END_TRY;
- return -1;
+ return FAIL;
} /* test_ref_bounds() */
/*************************************************************************