summaryrefslogtreecommitdiffstats
path: root/test/cache_tagging.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cache_tagging.c')
-rw-r--r--test/cache_tagging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cache_tagging.c b/test/cache_tagging.c
index f644235..30ca1de 100644
--- a/test/cache_tagging.c
+++ b/test/cache_tagging.c
@@ -666,7 +666,7 @@ check_file_open_tags(hid_t fcpl, int type)
/* =================== */
/* TEST: Open The File */
/* =================== */
- if ( (fid = H5Fopen(FILENAME, H5P_DEFAULT, H5P_DEFAULT)) < 0 ) TEST_ERROR;
+ if ( (fid = H5Fopen(FILENAME, H5F_ACC_RDONLY, H5P_DEFAULT)) < 0 ) TEST_ERROR;
/* =================================== */
/* Verification of Metadata Tag Values */