Skip to content

Commit

Permalink
Fix failures in cache_api test on cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF committed Nov 6, 2024
1 parent d09ea66 commit 476e15b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cache_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -4990,7 +4990,7 @@ resize_configs_are_equal(const H5C_auto_size_ctl_t *a, const H5C_auto_size_ctl_t
{
if (a->version != b->version)
return (false);
else if (a->rpt_fcn != b->rpt_fcn)
else if ((a->rpt_fcn && !b->rpt_fcn) || (!a->rpt_fcn && b->rpt_fcn))
return (false);
else if (compare_init && (a->set_initial_size != b->set_initial_size))
return (false);
Expand Down Expand Up @@ -5099,7 +5099,7 @@ validate_mdc_config(hid_t file_id, H5AC_cache_config_t *ext_config_ptr, bool com
if (!resize_configs_are_equal(&int_config, &cache_ptr->resize_ctl, compare_init)) {

pass = false;
snprintf(tmp_msg_buf, sizeof(tmp_msg_buf), "Unexpected internal config #%d.", test_num);
snprintf(tmp_msg_buf, sizeof(tmp_msg_buf), "Unexpected value in config #%d resize configuration.", test_num);
failure_mssg = tmp_msg_buf;
}
}
Expand Down

0 comments on commit 476e15b

Please sign in to comment.