diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-22 15:47:07 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-22 15:47:07 (GMT) |
commit | 4147de8d02fdfb651e860df999f87263d72be573 (patch) | |
tree | 0c12e5c4d19e03085adffaf51ac0fd7f1d67154e /tools/h5diff/testfiles/h5diff_707.txt | |
parent | f92d2371ffce9ec664833187cadb0223fa1dc1c2 (diff) | |
download | hdf5-4147de8d02fdfb651e860df999f87263d72be573.zip hdf5-4147de8d02fdfb651e860df999f87263d72be573.tar.gz hdf5-4147de8d02fdfb651e860df999f87263d72be573.tar.bz2 |
[svn-r20294] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the
different set of attributes (different number and names)
Description:
Previously h5diff compared attributes correctly only when two objects have
the same number of attributes and attribute names are identical.
This fix covers all other cases.
Also didn't display useful information about attribute difference.
This fixes both issues.
Tested:
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
Diffstat (limited to 'tools/h5diff/testfiles/h5diff_707.txt')
-rw-r--r-- | tools/h5diff/testfiles/h5diff_707.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/h5diff/testfiles/h5diff_707.txt b/tools/h5diff/testfiles/h5diff_707.txt new file mode 100644 index 0000000..4d6378b --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_707.txt @@ -0,0 +1,29 @@ + +group1 group2 +--------------------------------------- + x x + + +group : </g2> and </g2> +0 differences found + obj1 obj2 + -------------------------------------- + x x float2 + x float3 + x x integer1 +Attributes status: 2 common, 1 only in obj1, 0 only in obj2 +attribute: <float2 of </g2>> and <float2 of </g2>> +size: [2] [2] +position float2 of </g2> float2 of </g2> difference +------------------------------------------------------------ +[ 0 ] 1.1 2.1 1 +[ 1 ] 2.2 3.2 1 +2 differences found +attribute: <integer1 of </g2>> and <integer1 of </g2>> +size: [2] [2] +position integer1 of </g2> integer1 of </g2> difference +------------------------------------------------------------ +[ 0 ] 1 2 1 +[ 1 ] 2 3 1 +2 differences found +EXIT CODE: 1 |