diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/cache_logging.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/cache_logging.c b/test/cache_logging.c index 93d4505..12f3d96 100644 --- a/test/cache_logging.c +++ b/test/cache_logging.c @@ -59,6 +59,12 @@ test_logging_api(void) if (H5Pset_mdc_log_options(fapl, is_enabled, LOG_LOCATION, start_on_access) < 0) TEST_ERROR; + /* Ensure that setting the property twice doesn't cause problems + * (addresses a previous bug). + */ + if (H5Pset_mdc_log_options(fapl, is_enabled, LOG_LOCATION, start_on_access) < 0) + TEST_ERROR; + /* Check to make sure that the property list getter returns the correct * location string buffer size; */ |