diff --git a/test/cache_common.c b/test/cache_common.c index 334821b623e..4750f852824 100644 --- a/test/cache_common.c +++ b/test/cache_common.c @@ -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); @@ -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; } }