summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-07-31 16:04:31 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-07-31 16:04:31 (GMT)
commit70b46a1d89e7f9f4a82748a9e1cc21fb4f121ebe (patch)
tree00adcecf22f1b73a490f2adabcd582710a2f5ea9 /tools/testfiles
parent87449d081d1c99312034d917502f2b6aca2ee60c (diff)
downloadhdf5-70b46a1d89e7f9f4a82748a9e1cc21fb4f121ebe.zip
hdf5-70b46a1d89e7f9f4a82748a9e1cc21fb4f121ebe.tar.gz
hdf5-70b46a1d89e7f9f4a82748a9e1cc21fb4f121ebe.tar.bz2
[svn-r12518] h5dump binary output:
1. changed the -F flag option names to "BE and "LE" for big and little endian 2. added a more verbose usage message for these options 3. add a new test 4. add a make clean instruction to *.bin
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tbin1.ddl (renamed from tools/testfiles/tbin.ddl)2
-rw-r--r--tools/testfiles/tbin3.ddl2
-rw-r--r--tools/testfiles/tbin4.ddl11
-rw-r--r--tools/testfiles/tnofilename.ddl5
4 files changed, 17 insertions, 3 deletions
diff --git a/tools/testfiles/tbin.ddl b/tools/testfiles/tbin1.ddl
index 0ffebb8..6b7a155 100644
--- a/tools/testfiles/tbin.ddl
+++ b/tools/testfiles/tbin1.ddl
@@ -1,5 +1,5 @@
#############################
-Expected output for 'h5dump -d integer -b out.bin test1.h5'
+Expected output for 'h5dump -d integer -b out1.bin test1.h5'
#############################
HDF5 "test1.h5" {
DATASET "integer" {
diff --git a/tools/testfiles/tbin3.ddl b/tools/testfiles/tbin3.ddl
index 2571f4b..cbc2660 100644
--- a/tools/testfiles/tbin3.ddl
+++ b/tools/testfiles/tbin3.ddl
@@ -1,5 +1,5 @@
#############################
-Expected output for 'h5dump -d integer -b out3.bin -F LI test1.h5'
+Expected output for 'h5dump -d integer -b out3.bin -F LE test1.h5'
#############################
HDF5 "test1.h5" {
DATASET "integer" {
diff --git a/tools/testfiles/tbin4.ddl b/tools/testfiles/tbin4.ddl
new file mode 100644
index 0000000..3091874
--- /dev/null
+++ b/tools/testfiles/tbin4.ddl
@@ -0,0 +1,11 @@
+#############################
+Expected output for 'h5dump -d integer -b out4.bin -F BE test1.h5'
+#############################
+HDF5 "test1.h5" {
+DATASET "integer" {
+ DATATYPE H5T_STD_I32LE
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATA {
+ }
+}
+}
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl
index f18b8d5..85aae8a 100644
--- a/tools/testfiles/tnofilename.ddl
+++ b/tools/testfiles/tnofilename.ddl
@@ -21,7 +21,10 @@ usage: h5dump [OPTIONS] file
-l P, --soft-link=P Print the value(s) of the specified soft link
-o F, --output=F Output raw data into file F
-b F Output raw data into file F in binary form (use with -d)
- -F T Form of binary output (T can be NA for native type, DI for the disk file type, LI or BI for pre-existing little or big endian types)
+ -F T Form of binary output (T can be NA for native type,
+ DI for the disk file type, LE or BE for pre-existing little or big endian types)
+ E.g., to dump a dataset called 'integer' in a file called `test1.h5', use
+ h5dump -b bin.out -F LE -d integer test1.h5
-t P, --datatype=P Print the specified named data type
-w N, --width=N Set the number of columns of output
-x, --xml Output in XML using Schema