summaryrefslogtreecommitdiffstats
path: root/test/titerate.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-10-30 21:57:50 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-10-30 21:57:50 (GMT)
commitc136b81140106231e471b334bc5248611cec04e6 (patch)
tree0037e64ba84267eac89e0fcd4db0bd5cf6161ff5 /test/titerate.c
parentf85474466864d1a8b675387b623bebd89bbdc57e (diff)
downloadhdf5-c136b81140106231e471b334bc5248611cec04e6.zip
hdf5-c136b81140106231e471b334bc5248611cec04e6.tar.gz
hdf5-c136b81140106231e471b334bc5248611cec04e6.tar.bz2
[svn-r14223] Description:
Change existing H5Gget_info -> H5Gget_info_by_name and add new version of H5Gget_info, with simpler parameters, to better match new API routines. 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-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
Diffstat (limited to 'test/titerate.c')
-rw-r--r--test/titerate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/titerate.c b/test/titerate.c
index 5b354ce..9f93427 100644
--- a/test/titerate.c
+++ b/test/titerate.c
@@ -208,7 +208,7 @@ test_iter_group(hid_t fapl, hbool_t new_format)
root_group = H5Gopen2(file, "/", H5P_DEFAULT);
CHECK(root_group, FAIL, "H5Gopen2");
- ret = H5Gget_info(root_group, ".", &ginfo, H5P_DEFAULT);
+ ret = H5Gget_info(root_group, &ginfo);
CHECK(ret, FAIL, "H5Gget_info");
VERIFY(ginfo.nlinks, (NDATASETS + 2), "H5Gget_info");
@@ -234,7 +234,7 @@ test_iter_group(hid_t fapl, hbool_t new_format)
* iterate through B-tree for group members in internal library design.
* (Same as test above, but with the file ID instead of opening the root group)
*/
- ret = H5Gget_info(file, ".", &ginfo, H5P_DEFAULT);
+ ret = H5Gget_info(file, &ginfo);
CHECK(ret, FAIL, "H5Gget_info");
VERIFY(ginfo.nlinks, NDATASETS + 2, "H5Gget_info");
@@ -772,7 +772,7 @@ static void test_grp_memb_funcs(hid_t fapl)
root_group = H5Gopen2(file, "/", H5P_DEFAULT);
CHECK(root_group, FAIL, "H5Gopen2");
- ret = H5Gget_info(root_group, ".", &ginfo, H5P_DEFAULT);
+ ret = H5Gget_info(root_group, &ginfo);
CHECK(ret, FAIL, "H5Gget_info");
VERIFY(ginfo.nlinks, (NDATASETS + 2), "H5Gget_info");
@@ -868,7 +868,7 @@ static void test_links(hid_t fapl)
ret = H5Lcreate_hard(gid, "/g1", H5L_SAME_LOC, "hardlink", H5P_DEFAULT, H5P_DEFAULT);
CHECK(ret, FAIL, "H5Lcreate_hard");
- ret = H5Gget_info(gid, ".", &ginfo, H5P_DEFAULT);
+ ret = H5Gget_info(gid, &ginfo);
CHECK(ret, FAIL, "H5Gget_info");
VERIFY(ginfo.nlinks, 3, "H5Gget_info");