mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
140dfae48a
bug fixes Description: the return error code for a function was not initialized. in HP-UX it happened that this variable was initialized to -1 causing the function to return with an error condtion solution : initialized the variable to 0 the name of the dataset was printed after the differences in verbose mode and report when differences were found solution : check first if differences were found and then print the name of dataset and differences in verbose mode always print the name first Solution: Platforms tested: linux aix solaris Misc. update:
14 lines
830 B
Plaintext
14 lines
830 B
Plaintext
#############################
|
|
Expected output for 'h5diff file1.h5 file2.h5 -r -p 0.05 g1/dset3 g1/dset4'
|
|
#############################
|
|
Dataset: </g1/dset3> and </g1/dset4>
|
|
position dset3 dset4 difference relative
|
|
------------------------------------------------------------------------
|
|
[ 0 0 ] 100 110 10 0.1
|
|
[ 0 1 ] 110 100 10 0.09090909091
|
|
[ 1 0 ] 100 90 10 0.1
|
|
[ 1 1 ] 100 80 20 0.2
|
|
[ 2 0 ] 100 140 40 0.4
|
|
[ 2 1 ] 100 200 100 1
|
|
6 differences found
|