summaryrefslogtreecommitdiffstats
path: root/test/cache_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cache_image.c')
-rw-r--r--test/cache_image.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/cache_image.c b/test/cache_image.c
index c91914d..946d46b 100644
--- a/test/cache_image.c
+++ b/test/cache_image.c
@@ -6305,6 +6305,13 @@ cache_image_api_error_check_3(void)
if ( pass ) {
+ if ( H5Fclose(file_id) < 0 ) {
+
+ pass = FALSE;
+ failure_mssg = "H5Fclose() failed.\n";
+
+ }
+
if ( HDremove(filename) < 0 ) {
pass = FALSE;