mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +08:00
af749bafb7
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). Tested: jam, amani and heiwa
14 lines
592 B
Plaintext
14 lines
592 B
Plaintext
#############################
|
|
output for 'h5ls -w80 --follow-symlinks --no-dangling-links tsoftlinks.h5'
|
|
#############################
|
|
dset1 Dataset {4, 2}
|
|
dset2 Dataset {4, 2}
|
|
dtype Type
|
|
group1 Group
|
|
group_empty Group
|
|
soft_dangle Soft Link {not_yet} {**NOT FOUND**}
|
|
soft_dset1 Soft Link {/dset1} {Dataset {4, 2}}
|
|
soft_dtype Soft Link {/dtype} {Type}
|
|
soft_empty_grp Soft Link {/group_empty} {Group}
|
|
soft_group1 Soft Link {/group1} {Group}
|