diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-03-21 21:00:15 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-03-21 21:00:15 (GMT) |
commit | d476ce138bbb78d3f7bf22a21172724f6519a1cf (patch) | |
tree | ac74d4b9d5c7346d6c4881ce8ca6d4ecf126c9d7 /tools/h5diff/testfiles | |
parent | b7d9ed39c22b616c7da48323c03531e122670ebc (diff) | |
download | hdf5-d476ce138bbb78d3f7bf22a21172724f6519a1cf.zip hdf5-d476ce138bbb78d3f7bf22a21172724f6519a1cf.tar.gz hdf5-d476ce138bbb78d3f7bf22a21172724f6519a1cf.tar.bz2 |
[svn-r22114] Purpose:
Fix for HDFFV-7837 - h5diff: incorrect behavior with exclude-path option when unique object exist only in one file
Description:
If unique objects exists only in one file and try to exclude
the unique objects with --exclude-path option, h5diff missed
excluding some objects.
Fixed to exclude objects correctly in such case.
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)
Diffstat (limited to 'tools/h5diff/testfiles')
-rw-r--r-- | tools/h5diff/testfiles/h5diff_485.txt | 11 | ||||
-rw-r--r-- | tools/h5diff/testfiles/h5diff_486.txt | 11 | ||||
-rw-r--r-- | tools/h5diff/testfiles/h5diff_487.txt | 12 | ||||
-rw-r--r-- | tools/h5diff/testfiles/h5diff_exclude3-1.h5 | bin | 0 -> 4792 bytes | |||
-rw-r--r-- | tools/h5diff/testfiles/h5diff_exclude3-2.h5 | bin | 0 -> 2176 bytes |
5 files changed, 34 insertions, 0 deletions
diff --git a/tools/h5diff/testfiles/h5diff_485.txt b/tools/h5diff/testfiles/h5diff_485.txt new file mode 100644 index 0000000..4175809 --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_485.txt @@ -0,0 +1,11 @@ + +file1 file2 +--------------------------------------- + x x / + x x /dset1 + +group : </> and </> +0 differences found +dataset: </dset1> and </dset1> +0 differences found +EXIT CODE: 0 diff --git a/tools/h5diff/testfiles/h5diff_486.txt b/tools/h5diff/testfiles/h5diff_486.txt new file mode 100644 index 0000000..4175809 --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_486.txt @@ -0,0 +1,11 @@ + +file1 file2 +--------------------------------------- + x x / + x x /dset1 + +group : </> and </> +0 differences found +dataset: </dset1> and </dset1> +0 differences found +EXIT CODE: 0 diff --git a/tools/h5diff/testfiles/h5diff_487.txt b/tools/h5diff/testfiles/h5diff_487.txt new file mode 100644 index 0000000..8555a71 --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_487.txt @@ -0,0 +1,12 @@ + +file1 file2 +--------------------------------------- + x x / + x x /dset1 + x /group1 + +group : </> and </> +0 differences found +dataset: </dset1> and </dset1> +0 differences found +EXIT CODE: 1 diff --git a/tools/h5diff/testfiles/h5diff_exclude3-1.h5 b/tools/h5diff/testfiles/h5diff_exclude3-1.h5 Binary files differnew file mode 100644 index 0000000..f9cc83d --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_exclude3-1.h5 diff --git a/tools/h5diff/testfiles/h5diff_exclude3-2.h5 b/tools/h5diff/testfiles/h5diff_exclude3-2.h5 Binary files differnew file mode 100644 index 0000000..f811905 --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_exclude3-2.h5 |