diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-12-14 15:31:59 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-12-14 15:31:59 (GMT) |
commit | 09cdbaaa3fbf01109ef5ef90c282bed443829643 (patch) | |
tree | 4de249cba9a77029ffb2d35281fc5cd7de2f7eb2 /test | |
parent | 3f3e95f65eba1579643e931a3e9d21334285783b (diff) | |
download | hdf5-09cdbaaa3fbf01109ef5ef90c282bed443829643.zip hdf5-09cdbaaa3fbf01109ef5ef90c282bed443829643.tar.gz hdf5-09cdbaaa3fbf01109ef5ef90c282bed443829643.tar.bz2 |
Replaced H5Dopen with H5Dopen2.
Platform tested:
Linux/32 2.6 (jam)
Diffstat (limited to 'test')
-rw-r--r-- | test/tverbounds18.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/tverbounds18.c b/test/tverbounds18.c index abba767..2ae87c1 100644 --- a/test/tverbounds18.c +++ b/test/tverbounds18.c @@ -64,8 +64,8 @@ static void test_earliest_latest(void) */ /* Open the dataset */ - dset = H5Dopen(fid, "DS_chunked_layout_3", H5P_DEFAULT); - CHECK(dset, FAIL, "H5Dopen"); + dset = H5Dopen2(fid, "DS_chunked_layout_3", H5P_DEFAULT); + CHECK(dset, FAIL, "H5Dopen2"); ret = H5Dclose(dset); CHECK(ret, FAIL, "H5Dclose"); @@ -77,9 +77,9 @@ static void test_earliest_latest(void) /* Open the dataset */ H5E_BEGIN_TRY { - dset = H5Dopen(fid, "DS_chunked_layout_4", H5P_DEFAULT); + dset = H5Dopen2(fid, "DS_chunked_layout_4", H5P_DEFAULT); } H5E_END_TRY; - VERIFY(dset, FAIL, "H5Dopen"); + VERIFY(dset, FAIL, "H5Dopen2"); /* Close the file */ ret = H5Fclose(fid); @@ -114,8 +114,8 @@ static void test_earliest_v18(void) */ /* Open the dataset */ - dset = H5Dopen(fid, "DS_chunked_layout_3", H5P_DEFAULT); - CHECK(dset, FAIL, "H5Dopen"); + dset = H5Dopen2(fid, "DS_chunked_layout_3", H5P_DEFAULT); + CHECK(dset, FAIL, "H5Dopen2"); ret = H5Dclose(dset); CHECK(ret, FAIL, "H5Dclose"); @@ -177,8 +177,8 @@ static void test_v18_latest(void) */ /* Open the dataset */ - dset = H5Dopen(fid, "DS_chunked_layout_3", H5P_DEFAULT); - CHECK(dset, FAIL, "H5Dopen"); + dset = H5Dopen2(fid, "DS_chunked_layout_3", H5P_DEFAULT); + CHECK(dset, FAIL, "H5Dopen2"); ret = H5Dclose(dset); CHECK(ret, FAIL, "H5Dclose"); @@ -218,8 +218,8 @@ static void test_v18_v18(void) */ /* Open the dataset */ - dset = H5Dopen(fid, "DS_chunked_layout_3", H5P_DEFAULT); - CHECK(dset, FAIL, "H5Dopen"); + dset = H5Dopen2(fid, "DS_chunked_layout_3", H5P_DEFAULT); + CHECK(dset, FAIL, "H5Dopen2"); ret = H5Dclose(dset); CHECK(ret, FAIL, "H5Dclose"); @@ -231,9 +231,9 @@ static void test_v18_v18(void) /* Open the dataset */ H5E_BEGIN_TRY { - dset = H5Dopen(fid, "DS_chunked_layout_4", H5P_DEFAULT); + dset = H5Dopen2(fid, "DS_chunked_layout_4", H5P_DEFAULT); } H5E_END_TRY; - VERIFY(dset, FAIL, "H5Dopen"); + VERIFY(dset, FAIL, "H5Dopen2"); /* Close the file */ ret = H5Fclose(fid); |