Files
hdf5/tools/h5diff/testfiles/h5diff_704.txt
Jonathan Kim 2aabc3f415 [svn-r20299] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the 
    different set of attributes (different number and names)

Description:
    Merged from HDF5 trunk r20294
    Previously h5diff compared attributes correctly only when two objects have 
    the same number of attributes and attribute names are identical.
    Also didn't display useful information about attribute difference.
    This fix covers all other cases.
    This fixes both issues.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
2011-03-23 09:37:45 -05:00

29 lines
1.0 KiB
Plaintext

group1 group2
---------------------------------------
x x
group : </g> and </g>
0 differences found
obj1 obj2
--------------------------------------
x x float1
x x integer1
Attributes status: 2 common, 0 only in obj1, 0 only in obj2
attribute: <float1 of </g>> and <float1 of </g>>
size: [2] [2]
position float1 of </g> float1 of </g> difference
------------------------------------------------------------
[ 0 ] 1.1 2.1 1
[ 1 ] 2.2 3.2 1
2 differences found
attribute: <integer1 of </g>> and <integer1 of </g>>
size: [2] [2]
position integer1 of </g> integer1 of </g> difference
------------------------------------------------------------
[ 0 ] 1 2 1
[ 1 ] 2 3 1
2 differences found
EXIT CODE: 1