summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2016-02-15 10:13:35 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2016-02-15 10:13:35 (GMT)
commit9490d3aff473266c19c3ef24dd75576032376a30 (patch)
treea93a3b74760ed85771f19277d57a38fdf9ec09dc
parent4e7c243a4425cbfa26991696d108d75b29e96d49 (diff)
downloadhdf5-9490d3aff473266c19c3ef24dd75576032376a30.zip
hdf5-9490d3aff473266c19c3ef24dd75576032376a30.tar.gz
hdf5-9490d3aff473266c19c3ef24dd75576032376a30.tar.bz2
[svn-r29114] Updated test code of HDFFV-9672 to correct error exposed by
builds with the --with-default-api-version=v16 configure option. Tested on Mercury (serial/debug & serial/debug/v16_api) Jam (serial/debug) NOTE: In the serial/debug test on Mercury, I encountered the following assertion failure in testh5watch.sh: H5Fsfile.c:63: H5F_sfile_assert_num: Assertion `H5F_sfile_head_g == ((void *)0)' failed. As this was clearly unrelated to my change, I went ahead with the checkin.
-rw-r--r--test/dsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dsets.c b/test/dsets.c
index 2996d3b..e06d81d 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -11951,7 +11951,7 @@ dls_01_read_stuff( hid_t fid ) {
hid_t did = 0;
H5O_info_t info;
- did = H5Dopen( fid, DLS_01_DATASET, H5P_DEFAULT );
+ did = H5Dopen2( fid, DLS_01_DATASET, H5P_DEFAULT );
if ( did <= 0 ) TEST_ERROR
status = H5Oget_info( did, &info );