summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tvlstr.ddl
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-05 21:23:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-05 21:23:57 (GMT)
commit651bd4e252405b2f579e2bbb361353401866bd47 (patch)
treef10eabd7cb620aefaefd8d27c41e12a0ac566f35 /tools/testfiles/tvlstr.ddl
parentf768247888902ed9eeb2130d13f6c67b89f9c80f (diff)
downloadhdf5-651bd4e252405b2f579e2bbb361353401866bd47.zip
hdf5-651bd4e252405b2f579e2bbb361353401866bd47.tar.gz
hdf5-651bd4e252405b2f579e2bbb361353401866bd47.tar.bz2
[svn-r7542] Purpose:
Bug fixes and code cleanup Description: Whitespace removal. Added testfiles for named datatypes in attributes. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
Diffstat (limited to 'tools/testfiles/tvlstr.ddl')
-rw-r--r--tools/testfiles/tvlstr.ddl27
1 files changed, 11 insertions, 16 deletions
diff --git a/tools/testfiles/tvlstr.ddl b/tools/testfiles/tvlstr.ddl
index 93b392e..2487984 100644
--- a/tools/testfiles/tvlstr.ddl
+++ b/tools/testfiles/tvlstr.ddl
@@ -4,38 +4,33 @@ Expected output for 'h5dump tvlstr.h5'
HDF5 "tvlstr.h5" {
GROUP "/" {
ATTRIBUTE "test_scalar" {
- DATATYPE H5T_STRING {
- STRSIZE H5T_VARIABLE;
- STRPAD H5T_STR_NULLPAD;
- CSET H5T_CSET_ASCII;
- CTYPE H5T_C_S1;
- }
- DATASPACE SCALAR
+ DATATYPE "/vl_string_type"
+ DATASPACE SCALAR
DATA {
"This is the string for the attribute"
- }
- }
+ }
+ }
DATASET "Dataset1" {
DATATYPE H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLTERM;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
- }
- DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ }
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
DATA {
"Four score and seven years ago our forefathers brought forth on this continent a new nation,",
"conceived in liberty and dedicated to the proposition that all men are created equal.",
"Now we are engaged in a great civil war,",
"testing whether that nation or any nation so conceived and so dedicated can long endure."
- }
- }
+ }
+ }
DATATYPE "vl_string_type" H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLPAD;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
};
-
-}
-}
+
+}
+}