summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testh5diff.sh
diff options
context:
space:
mode:
authorPeter Cao <xcao@hdfgroup.org>2011-07-15 23:02:50 (GMT)
committerPeter Cao <xcao@hdfgroup.org>2011-07-15 23:02:50 (GMT)
commit877b7aed1b543d2e7fde2d9c2c2eda325d3894c0 (patch)
tree9eaa4845a0a330a3f73ebb6b2cd995232c61898a /tools/h5diff/testh5diff.sh
parentdc9288a44706fa89558d218325f34dbfdad31d07 (diff)
downloadhdf5-877b7aed1b543d2e7fde2d9c2c2eda325d3894c0.zip
hdf5-877b7aed1b543d2e7fde2d9c2c2eda325d3894c0.tar.gz
hdf5-877b7aed1b543d2e7fde2d9c2c2eda325d3894c0.tar.bz2
[svn-r21105] Fixed two bugs:
- h5repack: h5repack failed to copy dataset if the layout is changed from chunked with unlimited dims to contiguous. (PC -- 2011/07/15) - h5diff: "--delta" option considers two NaN of the same type are different, which is wrong based on http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Diff. (PC -- 2011/07/15)
Diffstat (limited to 'tools/h5diff/testh5diff.sh')
-rwxr-xr-xtools/h5diff/testh5diff.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh
index b33e691..fcfcc14 100755
--- a/tools/h5diff/testh5diff.sh
+++ b/tools/h5diff/testh5diff.sh
@@ -629,6 +629,10 @@ TOOLTEST h5diff_609.txt -d 200 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dse
# 6.10: number smaller than smallest difference
TOOLTEST h5diff_610.txt -d 1 h5diff_basic1.h5 h5diff_basic2.h5 g1/dset3 g1/dset4
+# 6.11: test (NaN == NaN) must be true based on our documentation -- XCAO
+TOOLTEST h5diff_609.txt -d "0.0001" h5diff_basic1.h5 h5diff_basic1.h5 g1/fp18 g1/fp18_COPY
+TOOLTEST h5diff_609.txt --use-system-epsilon h5diff_basic1.h5 h5diff_basic1.h5 g1/fp18 g1/fp18_COPY
+
# ##############################################################################
# # -p