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)
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
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
|
|
external link: </ext_link1> and </ext_link1>
|
|
1 differences found
|
|
external link: </ext_link2> and </ext_link2>
|
|
1 differences found
|
|
external link: </ext_link3> and </ext_link3>
|
|
1 differences found
|
|
external link: </ext_link4> and </ext_link4>
|
|
0 differences found
|
|
link : </soft_link1> and </soft_link1>
|
|
0 differences found
|
|
link : </soft_link2> and </soft_link2>
|
|
1 differences found
|
|
link : </soft_link3> and </soft_link3>
|
|
1 differences found
|
|
link : </soft_link4> and </soft_link4>
|
|
1 differences found
|
|
EXIT CODE: 1
|