From 09cdbaaa3fbf01109ef5ef90c282bed443829643 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Thu, 14 Dec 2017 09:31:59 -0600 Subject: Replaced H5Dopen with H5Dopen2. Platform tested: Linux/32 2.6 (jam) --- test/tverbounds18.c | 24 ++++++++++++------------ 1 file 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); -- cgit v0.12