summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tnamed_dtype_attr.ddl
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-27 18:22:55 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-03-27 18:22:55 (GMT)
commit983e043587f221bc2d0ebc17e403f8f61f438dfd (patch)
treeb23ab77a81b4b59c6da05c58c17eb137e8b56897 /tools/testfiles/tnamed_dtype_attr.ddl
parent4c0b3c3d5af667dc3bc165463bcc8a1ce382a599 (diff)
downloadhdf5-983e043587f221bc2d0ebc17e403f8f61f438dfd.zip
hdf5-983e043587f221bc2d0ebc17e403f8f61f438dfd.tar.gz
hdf5-983e043587f221bc2d0ebc17e403f8f61f438dfd.tar.bz2
[svn-r12158] Purpose:
bug fix Description: h5dump was not printing attributes for the named datatype cases Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/testfiles/tnamed_dtype_attr.ddl')
-rw-r--r--tools/testfiles/tnamed_dtype_attr.ddl21
1 files changed, 20 insertions, 1 deletions
diff --git a/tools/testfiles/tnamed_dtype_attr.ddl b/tools/testfiles/tnamed_dtype_attr.ddl
index 5512d38..391abf8 100644
--- a/tools/testfiles/tnamed_dtype_attr.ddl
+++ b/tools/testfiles/tnamed_dtype_attr.ddl
@@ -1,11 +1,14 @@
#############################
-Expected output for 'h5dump -A tnamed_dtype_attr.h5'
+Expected output for 'h5dump tnamed_dtype_attr.h5'
#############################
HDF5 "tnamed_dtype_attr.h5" {
GROUP "/" {
DATASET "Dataset" {
DATATYPE "/Datatype"
DATASPACE SCALAR
+ DATA {
+ (0): 0
+ }
ATTRIBUTE "Attribute" {
DATATYPE "/Datatype"
DATASPACE SCALAR
@@ -15,6 +18,22 @@ GROUP "/" {
}
}
DATATYPE "Datatype" H5T_STD_I32LE;
+ ATTRIBUTE "Attribute" {
+ DATATYPE H5T_STD_I32LE
+ DATASPACE SCALAR
+ DATA {
+ (0): 8
+ }
+ }
+ GROUP "g1" {
+ ATTRIBUTE "Attribute" {
+ DATATYPE "/Datatype"
+ DATASPACE SCALAR
+ DATA {
+ (0): 8
+ }
+ }
+ }
}
}