diff options
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.ddl | 2 | ||||
-rw-r--r-- | tools/testfiles/tbin4.ddl | 11 | ||||
-rw-r--r-- | tools/testfiles/tnofilename.ddl | 5 |
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 |