diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-18 20:45:50 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-18 20:45:50 (GMT) |
commit | f6ee6e59e1516bcc3c4c444e886835db89113e93 (patch) | |
tree | 58e15325a302662ad7f75aa2f60b73410f316262 /test | |
parent | ebb6221ddec94f1d28c04ed3ffc8c2cb02ad9026 (diff) | |
download | hdf5-f6ee6e59e1516bcc3c4c444e886835db89113e93.zip hdf5-f6ee6e59e1516bcc3c4c444e886835db89113e93.tar.gz hdf5-f6ee6e59e1516bcc3c4c444e886835db89113e93.tar.bz2 |
Fixes typo and return types in version bounds test
Diffstat (limited to 'test')
-rw-r--r-- | test/version_bounds_1_10.c | 14 |
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() */ /************************************************************************* |