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
9 lines
518 B
Plaintext
9 lines
518 B
Plaintext
#############################
|
|
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}
|