From f6ee6e59e1516bcc3c4c444e886835db89113e93 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Tue, 18 Aug 2020 13:45:50 -0700 Subject: Fixes typo and return types in version bounds test --- test/version_bounds_1_10.c | 14 +++++++------- 1 file 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() */ /************************************************************************* -- cgit v0.12