hdf5/tools/testfiles/tvlstr.ddl
Jonathan Kim a558128a18 [svn-r20869] Purpose:
HDFFV-7514 - GMQS: h5dump - improve effectiveness of testing scripts for handling expected output files

   Description:
       Fist phase for h5dump test update. Next phase will be for h5ls.
       This is prerequisite for 'HDFFV-7602 Tools - upgrade tools' test scripts to share test files among tools, providing framework for test file re-usability.'

   Tested:
       jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE),  Windows (32-LE), Cmake (jam)
2011-05-19 17:51:36 -05:00

33 lines
860 B
SQL

HDF5 "tvlstr.h5" {
GROUP "/" {
ATTRIBUTE "test_scalar" {
DATATYPE "/vl_string_type"
DATASPACE SCALAR
DATA {
(0): "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 ) }
DATA {
(0): "Four score and seven years ago our forefathers brought forth on this continent a new nation,",
(1): "conceived in liberty and dedicated to the proposition that all men are created equal.",
(2): "", NULL
}
}
DATATYPE "vl_string_type" H5T_STRING {
STRSIZE H5T_VARIABLE;
STRPAD H5T_STR_NULLPAD;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
};
}
}