diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2010-07-07 20:06:20 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2010-07-07 20:06:20 (GMT) |
commit | 435f58c1b8bc3002cb23bfa935dc9c3cc5a8d68a (patch) | |
tree | 142060b1fc2822a7e9d15fba2726ddd1c5337f55 /tools/testfiles/textlinksrc-nodangle-2.ls | |
parent | 68484a2099fd18e895bb7e097cf42127ca3550d2 (diff) | |
download | hdf5-435f58c1b8bc3002cb23bfa935dc9c3cc5a8d68a.zip hdf5-435f58c1b8bc3002cb23bfa935dc9c3cc5a8d68a.tar.gz hdf5-435f58c1b8bc3002cb23bfa935dc9c3cc5a8d68a.tar.bz2 |
[svn-r19053] Purpose:
Add --no-dangling-links option to h5ls.
Description:
Related to "Bug 1830 - Following an dangling external link in h5ls should set non-zero return code."
If --no-dangling-links option is specified and any dangling link is found, return exit code 1 (error).
Merged from hdf5 trunk r19051
Tested:
jam, amani, heiwa
Diffstat (limited to 'tools/testfiles/textlinksrc-nodangle-2.ls')
-rw-r--r-- | tools/testfiles/textlinksrc-nodangle-2.ls | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testfiles/textlinksrc-nodangle-2.ls b/tools/testfiles/textlinksrc-nodangle-2.ls new file mode 100644 index 0000000..4713849 --- /dev/null +++ b/tools/testfiles/textlinksrc-nodangle-2.ls @@ -0,0 +1,8 @@ +############################# + output for 'h5ls -w80 --follow-symlinks --no-dangling-links textlinksrc.h5' +############################# +ext_link1 External Link {textlinktar.h5//group} {Group} +ext_link2 External Link {textlinktar.h5//dset} {Dataset {6}} +ext_link3 External Link {textlinktar.h5//type} {Type} +ext_link4 External Link {textlinktar.h5//group/elink_t2} {**NOT FOUND**} +ext_link5 External Link {textlinktar.h5//empty_group} {Group} |