diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2018-03-21 19:12:30 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2018-03-21 19:12:30 (GMT) |
commit | 1aaed1ba3af8eeeeaddb0da2bfea843bab981deb (patch) | |
tree | f6fee0310821442714fddc9fd00af09579000267 /hl | |
parent | aa9e1aeea18a0eff050feac19596be6cad9a7c65 (diff) | |
download | hdf5-1aaed1ba3af8eeeeaddb0da2bfea843bab981deb.zip hdf5-1aaed1ba3af8eeeeaddb0da2bfea843bab981deb.tar.gz hdf5-1aaed1ba3af8eeeeaddb0da2bfea843bab981deb.tar.bz2 |
Couple fixes to the test routine for HDFFV-10425.
Diffstat (limited to 'hl')
-rw-r--r-- | hl/test/test_dset_opt.c | 4 |
1 files 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 */ |