summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2008-07-21 16:50:22 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2008-07-21 16:50:22 (GMT)
commite7037ad07213833582cf066b05f6dbf52c626ce6 (patch)
tree3938c5b0cbc343bbd4dad0f88c9d66ae971ad7fa /c++
parent60957dc6cfa069aa2809732479e004b7813a2054 (diff)
downloadhdf5-e7037ad07213833582cf066b05f6dbf52c626ce6.zip
hdf5-e7037ad07213833582cf066b05f6dbf52c626ce6.tar.gz
hdf5-e7037ad07213833582cf066b05f6dbf52c626ce6.tar.bz2
[svn-r15390] Last round of checkin introduced a bug. This checkin corrected it and made a few minor
changes. Last round of check in fixed the problem when an attribute was opened twice and data was written with one of the handles, the file didn't have the data. It happened because each handle had its own object structure, and the empty one overwrote the data with fill value. This is fixed by making some attribute information like the data be shared in the attribute structure. Tested on smirom, kagiso, and linew.
Diffstat (limited to 'c++')
-rw-r--r--c++/test/testhdf5.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/c++/test/testhdf5.cpp b/c++/test/testhdf5.cpp
index a09e2d8..02b427e 100644
--- a/c++/test/testhdf5.cpp
+++ b/c++/test/testhdf5.cpp
@@ -76,10 +76,8 @@ main(int argc, char *argv[])
AddTest("file", test_file, cleanup_file, "File I/O Operations", NULL);
// testing dataspace functionalities in th5s.cpp
AddTest("h5s", test_h5s, cleanup_h5s, "Dataspaces", NULL);
-#ifdef TMP
// testing attribute functionalities in tattr.cpp
AddTest("attr", test_attr, cleanup_attr, "Attributes", NULL);
-#endif
// testing reference functionalities in trefer.cpp
AddTest("reference", test_reference, cleanup_reference, "References", NULL);
// testing variable-length strings in tvlstr.cpp