summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2008-07-07 17:00:03 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2008-07-07 17:00:03 (GMT)
commit9f56d7f5ab7af19fa3849462d03f0503fb29023e (patch)
treec75832606689149ca798b56437f19ac0abd4d4d5 /test/dtypes.c
parent1f4ee5485eb90dfc9380e07d70da9b59100c87bb (diff)
downloadhdf5-9f56d7f5ab7af19fa3849462d03f0503fb29023e.zip
hdf5-9f56d7f5ab7af19fa3849462d03f0503fb29023e.tar.gz
hdf5-9f56d7f5ab7af19fa3849462d03f0503fb29023e.tar.bz2
[svn-r15330] 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 'test/dtypes.c')
-rw-r--r--test/dtypes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index cf4c2ea..c469be1 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -1525,7 +1525,7 @@ test_compound_8(void)
if(tsize != (sizeof(char) + sizeof(char) + sizeof(int))) {
H5_FAILED(); AT();
- printf("The size of the packed compound datatype is incorrect\n");
+ printf("The size of the packed compound datatype is incorrect: tsize=%d\n", tsize);
goto error;
} /* end if */
@@ -5042,6 +5042,7 @@ main(void)
nerrors += test_detect();
nerrors += test_compound_1();
nerrors += test_query();
+
nerrors += test_transient(fapl);
nerrors += test_named(fapl);
nerrors += test_encode();