summaryrefslogtreecommitdiffstats
path: root/test/tmisc.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-09-27 22:42:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-09-27 22:42:20 (GMT)
commitc63f9b42ec89ff649f4f086e2f422fa01d9967b1 (patch)
tree563d292a805c97be9136799016215ea99af39452 /test/tmisc.c
parenta9a10b0a055824f676cf426fcd928772aeaa99c8 (diff)
downloadhdf5-c63f9b42ec89ff649f4f086e2f422fa01d9967b1.zip
hdf5-c63f9b42ec89ff649f4f086e2f422fa01d9967b1.tar.gz
hdf5-c63f9b42ec89ff649f4f086e2f422fa01d9967b1.tar.bz2
[svn-r14162] Description:
Make H5Adelete versioned and switch internal library use to H5Adelete2. Add regression test for H5Adelete1 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/tmisc.c')
-rw-r--r--test/tmisc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index 4656afa..aa95bb0 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -4363,8 +4363,8 @@ test_misc25a(void)
CHECK(gid, FAIL, "H5Gopen2");
/* Delete 2nd attribute */
- ret = H5Adelete(gid, MISC25A_ATTR2_NAME);
- CHECK(ret, FAIL, "H5Adelete");
+ ret = H5Adelete2(gid, ".", MISC25A_ATTR2_NAME, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Adelete2");
/* Close first group */
ret = H5Gclose(gid);
@@ -4429,8 +4429,8 @@ test_misc25a(void)
CHECK(gid, FAIL, "H5Gopen2");
/* Delete 3rd attribute */
- ret = H5Adelete(gid, MISC25A_ATTR3_NAME);
- CHECK(ret, FAIL, "H5Adelete");
+ ret = H5Adelete2(gid, ".", MISC25A_ATTR3_NAME, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Adelete2");
/* Create dataspace for 3rd attribute */
sid = H5Screate(H5S_SCALAR);
@@ -4476,8 +4476,8 @@ test_misc25a(void)
CHECK(gid, FAIL, "H5Gopen2");
/* Delete 2nd attribute */
- ret = H5Adelete(gid, MISC25A_ATTR2_NAME);
- CHECK(ret, FAIL, "H5Adelete");
+ ret = H5Adelete2(gid, ".", MISC25A_ATTR2_NAME, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Adelete2");
/* Close first group */
ret = H5Gclose(gid);
@@ -4696,8 +4696,8 @@ test_misc25c(void)
CHECK(ret, FAIL, "H5Lmove");
/* Delete the first attribute */
- ret = H5Adelete(gid, MISC25C_ATTRNAME);
- CHECK(ret, FAIL, "H5Adelete");
+ ret = H5Adelete2(gid, ".", MISC25C_ATTRNAME, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Adelete2");
/* Close the dataset group */
ret = H5Gclose(gid);