diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-02-28 20:25:25 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-02-28 20:25:25 (GMT) |
commit | c6382f50c5744595d3a9ba69a04f76782f3b8672 (patch) | |
tree | c53cc31164515c7647eceb3da2dd64e745c426c6 /tools/testfiles | |
parent | 600bcf0dc3bf984c752737385e0a90ffd29feb38 (diff) | |
download | hdf5-c6382f50c5744595d3a9ba69a04f76782f3b8672.zip hdf5-c6382f50c5744595d3a9ba69a04f76782f3b8672.tar.gz hdf5-c6382f50c5744595d3a9ba69a04f76782f3b8672.tar.bz2 |
[svn-r20168] BZ2048: Add -E --enable-error-stack option to h5dump.
Tested: local linux, heiwa, windows
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/filter_fail.ddl | 30 | ||||
-rw-r--r-- | tools/testfiles/filter_fail.h5 | bin | 0 -> 3528 bytes | |||
-rw-r--r-- | tools/testfiles/tnofilename.ddl | 1 |
3 files changed, 31 insertions, 0 deletions
diff --git a/tools/testfiles/filter_fail.ddl b/tools/testfiles/filter_fail.ddl new file mode 100644 index 0000000..247fb34 --- /dev/null +++ b/tools/testfiles/filter_fail.ddl @@ -0,0 +1,30 @@ +############################# +Expected output for 'h5dump -E filter_fail.h5' +############################# +HDF5 "filter_fail.h5" { +GROUP "/" { + DATASET "dset_fail" { + DATATYPE H5T_STD_I32LE + DATASPACE SIMPLE { ( 10 ) / ( 10 ) } + DATA { + } + } +} +} +HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs): + #000: (file name) line (number) in H5Dread(): can't read data + major: Dataset + minor: Read failed + #001: (file name) line (number) in H5D_read(): can't read data + major: Dataset + minor: Read failed + #002: (file name) line (number) in H5D_chunk_read(): unable to read raw data chunk + major: Low-level I/O + minor: Read failed + #003: (file name) line (number) in H5D_chunk_lock(): data pipeline read failed + major: Data filters + minor: Filter operation failed + #004: (file name) line (number) in H5Z_pipeline(): required filter is not registered + major: Data filters + minor: Read failed +h5dump error: unable to print data diff --git a/tools/testfiles/filter_fail.h5 b/tools/testfiles/filter_fail.h5 Binary files differnew file mode 100644 index 0000000..c140a69 --- /dev/null +++ b/tools/testfiles/filter_fail.h5 diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl index 5b9299b..7845675 100644 --- a/tools/testfiles/tnofilename.ddl +++ b/tools/testfiles/tnofilename.ddl @@ -35,6 +35,7 @@ usage: h5dump [OPTIONS] file -X S, --xml-ns=S (XML Schema) Use qualified names n the XML ":": no namespace, default: "hdf5:" E.g., to dump a file called `-f', use h5dump -- -f + -E, --enable-error-stack Show all HDF5 error reporting Subsetting is available by using the following options with a dataset attribute. Subsetting is done by selecting a hyperslab from the data. |