summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-04-30 22:37:06 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-04-30 22:37:06 (GMT)
commita306b38d670cbc0f040debccf55209fe0739243e (patch)
tree6c392637116dca68fc2cd6e5f50b6961308df832 /tools/testfiles
parent60754030c75ad737d5b09af1cdfba4b4e153effd (diff)
downloadhdf5-a306b38d670cbc0f040debccf55209fe0739243e.zip
hdf5-a306b38d670cbc0f040debccf55209fe0739243e.tar.gz
hdf5-a306b38d670cbc0f040debccf55209fe0739243e.tar.bz2
[svn-r6785] Purpose:
Feature Add Description: It's now possible to print out characters as actual characters instead of their decimal equivalent numbers. It's the same thing that h5ls does. The flag to do this is "--string" or "-r". Platforms tested: Verbena (Fortran & C++) Arabica (Fortran) Modi4 (Fortran & Parallel) Misc. update:
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tchar.h5bin0 -> 2356 bytes
-rw-r--r--tools/testfiles/tchar1.ddl18
-rw-r--r--tools/testfiles/tnofilename.ddl1
3 files changed, 19 insertions, 0 deletions
diff --git a/tools/testfiles/tchar.h5 b/tools/testfiles/tchar.h5
new file mode 100644
index 0000000..03bd6d5
--- /dev/null
+++ b/tools/testfiles/tchar.h5
Binary files differ
diff --git a/tools/testfiles/tchar1.ddl b/tools/testfiles/tchar1.ddl
new file mode 100644
index 0000000..29842c3
--- /dev/null
+++ b/tools/testfiles/tchar1.ddl
@@ -0,0 +1,18 @@
+#############################
+Expected output for 'h5dump -r tchar.h5'
+#############################
+HDF5 "tchar.h5" {
+GROUP "/" {
+ DATASET "Dataset1" {
+ DATATYPE H5T_STD_I8LE
+ DATASPACE SIMPLE { ( 308 ) / ( 308 ) }
+ DATA {
+ "Four score and seven years ago our forefathers brought forth on this "
+ "continent a new nation, conceived in liberty and dedicated to the pro"
+ "position that all men are created equal. Now we are engaged in a grea"
+ "t civil war, testing whether that nation or any nation so conceived a"
+ "nd so dedicated can long endure."
+ }
+ }
+}
+}
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl
index 213ff4c..8a72382 100644
--- a/tools/testfiles/tnofilename.ddl
+++ b/tools/testfiles/tnofilename.ddl
@@ -7,6 +7,7 @@ usage: h5dump [OPTIONS] file
-B, --bootblock Print the content of the boot block
-H, --header Print the header only; no data is displayed
-i, --object-ids Print the object ids
+ -r, --string Print 1-bytes integer datasets as ASCII
-V, --version Print version number and exit
-a P, --attribute=P Print the specified attribute
-d P, --dataset=P Print the specified dataset