summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tstring.ddl
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-06-10 16:20:29 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-06-10 16:20:29 (GMT)
commitf4492a33c1bc1f794e5887fc76f3dc365d56d181 (patch)
treea853bcc5395605f430d5848824e08c19521cab3d /tools/testfiles/tstring.ddl
parent2a7d7e5121587291d551460275d3b8e1e8daee49 (diff)
downloadhdf5-f4492a33c1bc1f794e5887fc76f3dc365d56d181.zip
hdf5-f4492a33c1bc1f794e5887fc76f3dc365d56d181.tar.gz
hdf5-f4492a33c1bc1f794e5887fc76f3dc365d56d181.tar.bz2
[svn-r8643] Purpose:
h5dump new features Description: added the code for print strings with new line and display the path of references (new source files h5tools_ref.c and .h ) added a test suite in testh5dump.sh.in for ( note : to create testh5dump.sh , one must redo ./configure; this detects the availability of filters and generates testh5dump.sh accordingly) 1) storage layout 2) fill value 3) print reference with path 4) print strings with new lines 5) filters Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/testfiles/tstring.ddl')
-rw-r--r--tools/testfiles/tstring.ddl20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/testfiles/tstring.ddl b/tools/testfiles/tstring.ddl
new file mode 100644
index 0000000..d6df34b
--- /dev/null
+++ b/tools/testfiles/tstring.ddl
@@ -0,0 +1,20 @@
+#############################
+Expected output for 'h5dump -e -d string tfilters.h5'
+#############################
+HDF5 "tfilters.h5" {
+DATASET "string" {
+ DATATYPE H5T_STRING {
+ STRSIZE 57;
+ STRPAD H5T_STR_NULLTERM;
+ CSET H5T_CSET_ASCII;
+ CTYPE H5T_C_S1;
+ }
+ DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
+ DATA {
+ (0) "this is
+ a string with three
+ newline
+ escape characters"
+ }
+}
+}