mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-21 07:51:46 +08:00
1b35c60118
Fix for HDFFV-7998-h5diff: incorrect behavior and output for comparing symbolic dangling links without following-symlinks option Description: Fix not to check and display dangling link status without --follow-symlinks option. Berfor the fix, when comparing symbolic link to symbolic link without follow-symlinks option, h5diff followed to check if those links are dangling or not. It caused to display output incorrectly (dangling link instead of symbolic link). The fix also improved performance when comparing lots of symbolic links without the --follow-symlinks option. Test cases were added and tagged with jira#. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
31 lines
906 B
Plaintext
31 lines
906 B
Plaintext
|
|
file1 file2
|
|
---------------------------------------
|
|
x x /
|
|
x x /dset1
|
|
x x /dset2
|
|
x x /ext_link1
|
|
x x /ext_link2
|
|
x x /ext_link3
|
|
x x /ext_link4
|
|
x x /soft_link1
|
|
x x /soft_link2
|
|
x x /soft_link3
|
|
x x /soft_link4
|
|
|
|
group : </> and </>
|
|
0 differences found
|
|
dataset: </dset1> and </dset1>
|
|
0 differences found
|
|
dataset: </dset2> and </dset2>
|
|
0 differences found
|
|
Warning: </ext_link1> is a dangling link.
|
|
Warning: </ext_link2> is a dangling link.
|
|
Warning: </ext_link3> is a dangling link.
|
|
Warning: </ext_link4> is a dangling link.
|
|
Warning: </soft_link1> is a dangling link.
|
|
Warning: </soft_link2> is a dangling link.
|
|
Warning: </soft_link3> is a dangling link.
|
|
Warning: </soft_link4> is a dangling link.
|
|
EXIT CODE: 2
|