summaryrefslogtreecommitdiffstats
path: root/test/cache_image.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 14:08:44 (GMT)
committerGitHub <noreply@github.com>2023-07-28 14:08:44 (GMT)
commit9ef2f993cfc7173712729fb40b34d1edae8509d9 (patch)
tree937a98f4d50cf0cca08fa105ae37589aedb8975c /test/cache_image.c
parentf563c2b926445f7a975553bc7742a38f42d3b6f4 (diff)
downloadhdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.zip
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.gz
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.bz2
Sync test dir w/ develop (#3303)
Diffstat (limited to 'test/cache_image.c')
-rw-r--r--test/cache_image.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cache_image.c b/test/cache_image.c
index ccf516d..ada65e4 100644
--- a/test/cache_image.c
+++ b/test/cache_image.c
@@ -19,7 +19,7 @@
/* global variable declarations: */
-const char *FILENAMES[] = {"cache_image_test", NULL};
+static const char *FILENAMES[] = {"cache_image_test", NULL};
/* local utility function declarations */
static void create_datasets(hid_t file_id, int min_dset, int max_dset);
@@ -6218,7 +6218,7 @@ cache_image_api_error_check_3(hbool_t single_file_vfd)
failure_mssg = "SWMR start succeeded in file with cache image.";
}
}
- H5E_END_TRY;
+ H5E_END_TRY
}
if (show_progress)
@@ -7584,7 +7584,6 @@ evict_on_close_test(hbool_t H5_ATTR_PARALLEL_UNUSED single_file_vfd)
if (verbose) {
assert(cache_ptr);
- assert(cache_ptr->magic == H5C__H5C_T_MAGIC);
fprintf(stdout, "index size / index dirty size = %lld / %lld\n", (long long)(cache_ptr->index_size),
(long long)(cache_ptr->dirty_index_size));