summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tperror.ddl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-03-12 17:23:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-03-12 17:23:29 (GMT)
commit5ffbfdee1e793a8e76eb0e7c54c5eb9844391539 (patch)
tree338e7b4ffeed2dc41407736d57c775893c660bd7 /tools/testfiles/tperror.ddl
parente6efdf96207781d874963243478d910d0a073ffc (diff)
downloadhdf5-5ffbfdee1e793a8e76eb0e7c54c5eb9844391539.zip
hdf5-5ffbfdee1e793a8e76eb0e7c54c5eb9844391539.tar.gz
hdf5-5ffbfdee1e793a8e76eb0e7c54c5eb9844391539.tar.bz2
[svn-r22043] HDFFV-7839: Dangling link should not display error
If a link is specified on the command with the -d option, call the handle_links function on error from the H5Dopen command. Updated test file results with error stack when link not found. Tested: trunk
Diffstat (limited to 'tools/testfiles/tperror.ddl')
-rw-r--r--tools/testfiles/tperror.ddl36
1 files changed, 33 insertions, 3 deletions
diff --git a/tools/testfiles/tperror.ddl b/tools/testfiles/tperror.ddl
index 76988c8..16a7d8e 100644
--- a/tools/testfiles/tperror.ddl
+++ b/tools/testfiles/tperror.ddl
@@ -1,5 +1,35 @@
HDF5 "tfcontents1.h5" {
-DATASET "bogus" {
- }
}
-h5dump error: unable to open dataset "bogus"
+HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
+ #000: (file name) line (number) in H5Dopen2(): not found
+ major: Dataset
+ minor: Object not found
+ #001: (file name) line (number) in H5G_loc_find(): can't find object
+ major: Symbol table
+ minor: Object not found
+ #002: (file name) line (number) in H5G_traverse(): internal path traversal failed
+ major: Symbol table
+ minor: Object not found
+ #003: (file name) line (number) in H5G_traverse_real(): traversal operator failed
+ major: Symbol table
+ minor: Callback failed
+ #004: (file name) line (number) in H5G_loc_find_cb(): object 'bogus' doesn't exist
+ major: Symbol table
+ minor: Object not found
+HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
+ #000: (file name) line (number) in H5Lget_info(): unable to get link info
+ major: Symbol table
+ minor: Object not found
+ #001: (file name) line (number) in H5L_get_info(): name doesn't exist
+ major: Symbol table
+ minor: Object already exists
+ #002: (file name) line (number) in H5G_traverse(): internal path traversal failed
+ major: Symbol table
+ minor: Object not found
+ #003: (file name) line (number) in H5G_traverse_real(): traversal operator failed
+ major: Symbol table
+ minor: Callback failed
+ #004: (file name) line (number) in H5L_get_info_cb(): name doesn't exist
+ major: Symbol table
+ minor: Object not found
+h5dump error: unable to get link info from "bogus"