diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-23 14:37:45 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-23 14:37:45 (GMT) |
commit | 2aabc3f41568a5daec0f1cae711c97a5bb82878d (patch) | |
tree | 1bcfe7eec0f9bf3910b495ec353d8fec036fd4dd /tools/h5diff/testfiles/h5diff_705.txt | |
parent | 58ca19929fd614eddee99f0cdc95551d451b4a6a (diff) | |
download | hdf5-2aabc3f41568a5daec0f1cae711c97a5bb82878d.zip hdf5-2aabc3f41568a5daec0f1cae711c97a5bb82878d.tar.gz hdf5-2aabc3f41568a5daec0f1cae711c97a5bb82878d.tar.bz2 |
[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)
Diffstat (limited to 'tools/h5diff/testfiles/h5diff_705.txt')
-rw-r--r-- | tools/h5diff/testfiles/h5diff_705.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/h5diff/testfiles/h5diff_705.txt b/tools/h5diff/testfiles/h5diff_705.txt new file mode 100644 index 0000000..1609189 --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_705.txt @@ -0,0 +1,17 @@ + +dataset: </dset> and </dset> + obj1 obj2 + -------------------------------------- + x float2 + x float3 + x x integer1 +Attributes status: 1 common, 1 only in obj1, 1 only in obj2 +attribute: <integer1 of </dset>> and <integer1 of </dset>> +size: [2] [2] +position integer1 of </dset> integer1 of </dset> difference +------------------------------------------------------------ +[ 0 ] 1 2 1 +[ 1 ] 2 3 1 +2 differences found +2 differences found +EXIT CODE: 1 |