diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-12-05 20:34:29 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-12-05 20:34:29 (GMT) |
commit | 8b2bbfc853917868d2786c9a6d101aad3025a511 (patch) | |
tree | 191022bc73c0396ec460a5090ebebc4f3d22ebef /tools/testfiles | |
parent | b6c3da97333d366257ad7c01d4e61ce7d43e4886 (diff) | |
download | hdf5-8b2bbfc853917868d2786c9a6d101aad3025a511.zip hdf5-8b2bbfc853917868d2786c9a6d101aad3025a511.tar.gz hdf5-8b2bbfc853917868d2786c9a6d101aad3025a511.tar.bz2 |
[svn-r21814] HDFFV-2567 - added test for be generated files with at least 9 attributes at root
Tested: local linux
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/tattr-4_be.ddl | 119 | ||||
-rw-r--r-- | tools/testfiles/tattr4_be.h5 | bin | 0 -> 3124 bytes |
2 files changed, 119 insertions, 0 deletions
diff --git a/tools/testfiles/tattr-4_be.ddl b/tools/testfiles/tattr-4_be.ddl new file mode 100644 index 0000000..9f2c547 --- /dev/null +++ b/tools/testfiles/tattr-4_be.ddl @@ -0,0 +1,119 @@ +HDF5 "tattr4_be.h5" { +GROUP "/" { + ATTRIBUTE "attr0" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + ATTRIBUTE "attr1" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + ATTRIBUTE "attr2" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + ATTRIBUTE "attr3" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + ATTRIBUTE "attr4" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + ATTRIBUTE "attr5" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + ATTRIBUTE "attr6" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + ATTRIBUTE "attr7" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + ATTRIBUTE "attr8" { + DATATYPE H5T_STRING { + STRSIZE 4; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "1234" + } + } + DATASET "data" { + DATATYPE H5T_IEEE_F32BE + DATASPACE SIMPLE { ( 1 ) / ( 1 ) } + DATA { + (0): 0 + } + } +} +} diff --git a/tools/testfiles/tattr4_be.h5 b/tools/testfiles/tattr4_be.h5 Binary files differnew file mode 100644 index 0000000..a464ac6 --- /dev/null +++ b/tools/testfiles/tattr4_be.h5 |