diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2012-12-06 16:02:01 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2012-12-06 16:02:01 (GMT) |
commit | b7e1b629e96727a4fe47ff3218d94aa274974b6a (patch) | |
tree | a452013b96012f8653cd4ee7e43995d876f59802 /tools/testfiles | |
parent | 6b1ef6ad02dc941507a27722666dae9a09cc11cc (diff) | |
download | hdf5-b7e1b629e96727a4fe47ff3218d94aa274974b6a.zip hdf5-b7e1b629e96727a4fe47ff3218d94aa274974b6a.tar.gz hdf5-b7e1b629e96727a4fe47ff3218d94aa274974b6a.tar.bz2 |
[svn-r23081] ported revisions 22987 to 23080 from the trunk
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/tscalarstring.ddl | 28 | ||||
-rw-r--r-- | tools/testfiles/tscalarstring.h5 | bin | 0 -> 2208 bytes |
2 files changed, 28 insertions, 0 deletions
diff --git a/tools/testfiles/tscalarstring.ddl b/tools/testfiles/tscalarstring.ddl new file mode 100644 index 0000000..4ba7093 --- /dev/null +++ b/tools/testfiles/tscalarstring.ddl @@ -0,0 +1,28 @@ +HDF5 "tscalarstring.h5" { +GROUP "/" { + ATTRIBUTE "attr_str" { + DATATYPE H5T_STRING { + STRSIZE 64; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "ABCDEFGHBCDEFGHICDEFGHIJDEFGHIJKEFGHIJKLFGHIJKLMGHIJKLMNHIJKLMNO" + } + } + DATASET "the_str" { + DATATYPE H5T_STRING { + STRSIZE 64; + STRPAD H5T_STR_NULLTERM; + CSET H5T_CSET_ASCII; + CTYPE H5T_C_S1; + } + DATASPACE SCALAR + DATA { + (0): "ABCDEFGHBCDEFGHICDEFGHIJDEFGHIJKEFGHIJKLFGHIJKLMGHIJKLMNHIJKLMNO" + } + } +} +} diff --git a/tools/testfiles/tscalarstring.h5 b/tools/testfiles/tscalarstring.h5 Binary files differnew file mode 100644 index 0000000..b0993ef --- /dev/null +++ b/tools/testfiles/tscalarstring.h5 |