From 1aaed1ba3af8eeeeaddb0da2bfea843bab981deb Mon Sep 17 00:00:00 2001 From: Vailin Choi Date: Wed, 21 Mar 2018 14:12:30 -0500 Subject: Couple fixes to the test routine for HDFFV-10425. --- hl/test/test_dset_opt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hl/test/test_dset_opt.c b/hl/test/test_dset_opt.c index fe2b2f3..ef4cf13 100644 --- a/hl/test/test_dset_opt.c +++ b/hl/test/test_dset_opt.c @@ -2040,7 +2040,7 @@ test_single_chunk_latest(void) goto error; /* Create the dataset */ - if((did = H5Dcreate(fid, DATASET, H5T_NATIVE_INT, sid, H5P_DEFAULT, dcpl, H5P_DEFAULT)) < 0) + if((did = H5Dcreate2(fid, DATASET, H5T_NATIVE_INT, sid, H5P_DEFAULT, dcpl, H5P_DEFAULT)) < 0) goto error; /* Write the data directly to the dataset */ @@ -2064,7 +2064,7 @@ test_single_chunk_latest(void) /* Open the file and dataset with default properties */ if((fid = H5Fopen(FILE, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0) goto error; - if((did = H5Dopen(fid, DATASET, H5P_DEFAULT)) < 0) + if((did = H5Dopen2(fid, DATASET, H5P_DEFAULT)) < 0) goto error; /* Retrieve dataset creation property list */ -- cgit v0.12