h5diff is wrongly exiting with a 0 status when objects are not comparable. 
Anyone else seeing this?

[dws@iter history]$ /usr/local/contrib/hdf5-1.8.7-par/bin/h5diff  -v 
binaryOperation2p_History.h5 
../../../vpresults-iter/history/binaryOperation2p/binaryOperation2p_History.h5 
/add
dataset: </add> and </add>
Not comparable: </add> has rank 1, dimensions [62], max dimensions 
[18446744073709551615]
and </add> has rank 1, dimensions [61], max dimensions [18446744073709551615]
attribute: <vsMesh of </add>> and <vsMesh of </add>>
0 differences found
attribute: <vsType of </add>> and <vsType of </add>>
0 differences found
0 differences found
--------------------------------
Some objects are not comparable
--------------------------------
Use -c for a list of objects.
[dws@iter history]$ echo $?
0

If I remove the dataset argument, h5diff correctly exits with a 1 status. 

Thanks,
Dave
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to