diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-09-27 20:28:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-09-27 20:28:27 (GMT) |
commit | 2c93a80648a72fd19d13c3c014ef998dc1f88f8f (patch) | |
tree | 545dda6a2ce07309b440397baa189bb10e70bc3f /test/th5o.c | |
parent | 0ee1ca5c204516f07f71476906218850a67425a3 (diff) | |
download | hdf5-2c93a80648a72fd19d13c3c014ef998dc1f88f8f.zip hdf5-2c93a80648a72fd19d13c3c014ef998dc1f88f8f.tar.gz hdf5-2c93a80648a72fd19d13c3c014ef998dc1f88f8f.tar.bz2 |
[svn-r14160] Description:
Make H5Topen versioned, and add regression test for H5Topen1.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'test/th5o.c')
-rw-r--r-- | test/th5o.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/th5o.c b/test/th5o.c index 49f982a..a1843ea 100644 --- a/test/th5o.c +++ b/test/th5o.c @@ -215,8 +215,8 @@ test_h5o_close(void) /* Make sure H5Oclose can close objects opened with H5*open */ grp = H5Gopen2(fid, "group", H5P_DEFAULT); CHECK(grp, FAIL, "H5Gopen2"); - dtype = H5Topen(fid, "group/datatype"); - CHECK(dtype, FAIL, "H5Topen"); + dtype = H5Topen2(fid, "group/datatype", H5P_DEFAULT); + CHECK(dtype, FAIL, "H5Topen2"); dset = H5Dopen(fid, "dataset"); CHECK(dset, FAIL, "H5Dopen"); @@ -480,8 +480,8 @@ test_h5o_refcount(void) grp = H5Gopen2(fid, "group", H5P_DEFAULT); CHECK(grp, FAIL, "H5Gopen2"); - dtype = H5Topen(fid, "datatype"); - CHECK(dtype, FAIL, "H5Topen"); + dtype = H5Topen2(fid, "datatype", H5P_DEFAULT); + CHECK(dtype, FAIL, "H5Topen2"); dset = H5Dopen(fid, "dataset"); CHECK(dset, FAIL, "H5Dopen"); @@ -518,8 +518,8 @@ test_h5o_refcount(void) grp = H5Gopen2(fid, "group", H5P_DEFAULT); CHECK(grp, FAIL, "H5Gopen2"); - dtype = H5Topen(fid, "datatype"); - CHECK(dtype, FAIL, "H5Topen"); + dtype = H5Topen2(fid, "datatype", H5P_DEFAULT); + CHECK(dtype, FAIL, "H5Topen2"); dset = H5Dopen(fid, "dataset"); CHECK(dset, FAIL, "H5Dopen"); @@ -708,8 +708,8 @@ test_h5o_plist(void) /* Re-open objects */ grp = H5Gopen2(fid, "group", H5P_DEFAULT); CHECK(grp, FAIL, "H5Gopen2"); - dtype = H5Topen(fid, "datatype"); - CHECK(dtype, FAIL, "H5Topen"); + dtype = H5Topen2(fid, "datatype", H5P_DEFAULT); + CHECK(dtype, FAIL, "H5Topen2"); dset = H5Dopen(fid, "dataset"); CHECK(dset, FAIL, "H5Dopen"); |