mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +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
714 B
Plaintext
14 lines
714 B
Plaintext
#############################
|
|
Expected output for 'h5diff file1.h5 file2.h5 -r -d 5 g1/dset3 g1/dset4'
|
|
#############################
|
|
Dataset: </g1/dset3> and </g1/dset4>
|
|
position dset3 dset4 difference
|
|
------------------------------------------------------------
|
|
[ 0 0 ] 100.000000 110.000000 10.000000
|
|
[ 0 1 ] 110.000000 100.000000 10.000000
|
|
[ 1 0 ] 100.000000 90.000000 10.000000
|
|
[ 1 1 ] 100.000000 80.000000 20.000000
|
|
[ 2 0 ] 100.000000 140.000000 40.000000
|
|
[ 2 1 ] 100.000000 200.000000 100.000000
|
|
6 differences found
|