diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2014-04-22 22:25:51 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2014-04-22 22:25:51 (GMT) |
commit | 3dc1e6dd38d665409560f79af6863019ebaa91d8 (patch) | |
tree | 1475e4d0de9b6e5ad65cf58d3ee4df01ef6ee7f5 /tools/h5diff/testfiles | |
parent | 2b11123a200e4595f8bd563476486987c6cc03f4 (diff) | |
download | hdf5-3dc1e6dd38d665409560f79af6863019ebaa91d8.zip hdf5-3dc1e6dd38d665409560f79af6863019ebaa91d8.tar.gz hdf5-3dc1e6dd38d665409560f79af6863019ebaa91d8.tar.bz2 |
[svn-r25081] Bug HDFFV-8625, HDFFV-8639, HDFFV-8745:
h5diff issues "unable to read attribute" error message when comparing two files
Description:
h5diff did not handle attributes of variable length strings correctly. It created the wrong memory type if one but not both compared attributes are of the variable strings type. It ended in H5Aread() failure.
Solution:
We decided to treat the case when one type is variable length string and the other is not as incomparable. That bypassed the above error. We still need to figure out the proper way, if possible, to compare variable string with non-variable string types.
Tested: h5committested plus tested in Swallow (OS X 10.8).
Diffstat (limited to 'tools/h5diff/testfiles')
-rw-r--r-- | tools/h5diff/testfiles/h5diff_tmp1.txt | 5 | ||||
-rw-r--r-- | tools/h5diff/testfiles/h5diff_tmp2.txt | 13 | ||||
-rw-r--r-- | tools/h5diff/testfiles/tmpSingleSiteBethe.output.h5 | bin | 0 -> 124440 bytes | |||
-rw-r--r-- | tools/h5diff/testfiles/tmpSingleSiteBethe.reference.h5 | bin | 0 -> 119464 bytes | |||
-rw-r--r-- | tools/h5diff/testfiles/tmptest.he5 | bin | 0 -> 4740424 bytes | |||
-rw-r--r-- | tools/h5diff/testfiles/tmptest2.he5 | bin | 0 -> 4734280 bytes |
6 files changed, 18 insertions, 0 deletions
diff --git a/tools/h5diff/testfiles/h5diff_tmp1.txt b/tools/h5diff/testfiles/h5diff_tmp1.txt new file mode 100644 index 0000000..40e3fb6 --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_tmp1.txt @@ -0,0 +1,5 @@ +-------------------------------- +Some objects are not comparable +-------------------------------- +Use -c for a list of objects. +EXIT CODE: 0 diff --git a/tools/h5diff/testfiles/h5diff_tmp2.txt b/tools/h5diff/testfiles/h5diff_tmp2.txt new file mode 100644 index 0000000..a2d6da6 --- /dev/null +++ b/tools/h5diff/testfiles/h5diff_tmp2.txt @@ -0,0 +1,13 @@ +dataset: </G/down/Data> and </G/down/Data> +1599 differences found +dataset: </G/down/Tail/array> and </G/down/Tail/array> +8 differences found +dataset: </G/up/Data> and </G/up/Data> +1845 differences found +dataset: </G/up/Tail/array> and </G/up/Tail/array> +10 differences found +-------------------------------- +Some objects are not comparable +-------------------------------- +Use -c for a list of objects. +EXIT CODE: 1 diff --git a/tools/h5diff/testfiles/tmpSingleSiteBethe.output.h5 b/tools/h5diff/testfiles/tmpSingleSiteBethe.output.h5 Binary files differnew file mode 100644 index 0000000..bbcfb63 --- /dev/null +++ b/tools/h5diff/testfiles/tmpSingleSiteBethe.output.h5 diff --git a/tools/h5diff/testfiles/tmpSingleSiteBethe.reference.h5 b/tools/h5diff/testfiles/tmpSingleSiteBethe.reference.h5 Binary files differnew file mode 100644 index 0000000..6b19ed7 --- /dev/null +++ b/tools/h5diff/testfiles/tmpSingleSiteBethe.reference.h5 diff --git a/tools/h5diff/testfiles/tmptest.he5 b/tools/h5diff/testfiles/tmptest.he5 Binary files differnew file mode 100644 index 0000000..edcfcd2 --- /dev/null +++ b/tools/h5diff/testfiles/tmptest.he5 diff --git a/tools/h5diff/testfiles/tmptest2.he5 b/tools/h5diff/testfiles/tmptest2.he5 Binary files differnew file mode 100644 index 0000000..a6ab02b --- /dev/null +++ b/tools/h5diff/testfiles/tmptest2.he5 |