[svn-r20724] Purpose: Fix a bug in h5diff when enum values are compared that do
not represent a valid enum value. Description: The h5diff code compares enum values by converting them to strings and then comparing them. When the enum value is out of range and can't be converted to an enum string representation, the comparison was skipped. The code now flags differences when one of the two enum values is out of range (two out of range values are compared in memory). A test has been added to the tools test script. This fixes JIRA HDFFV-7527 Tested on: jam, koala, heiwa (h5committest)
This commit is contained in:
BIN
tools/h5diff/testfiles/h5diff_enum_invalid_values.h5
Executable file
BIN
tools/h5diff/testfiles/h5diff_enum_invalid_values.h5
Executable file
Binary file not shown.
Reference in New Issue
Block a user