From 476e15b4aa0c450975df2622cf32aaa5a7693b48 Mon Sep 17 00:00:00 2001 From: Jordan Henderson Date: Wed, 6 Nov 2024 13:12:42 -0600 Subject: [PATCH] Fix failures in cache_api test on cygwin --- test/cache_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }