[svn-r8912] Purpose:
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:
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#############################
|
||||
Expected output for 'h5diff file4.h5 file4.h5 -v dset5a dset5b'
|
||||
#############################
|
||||
Dataset: </dset5a> and </dset5b>
|
||||
position dset5a dset5b difference
|
||||
------------------------------------------------------------
|
||||
[ 1 0 ] 1.000000 3.000000 2.000000
|
||||
[ 1 1 ] 1.000000 4.000000 3.000000
|
||||
[ 2 0 ] 1.000000 5.000000 4.000000
|
||||
[ 2 1 ] 1.000000 6.000000 5.000000
|
||||
Dataset: </dset5a> and </dset5b>
|
||||
4 differences found
|
||||
|
||||
Reference in New Issue
Block a user