summaryrefslogtreecommitdiffstats
path: root/test/cache_tagging.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-02-20 02:28:52 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-02-20 02:28:52 (GMT)
commit101fa7af8ebe26ad015b64d3b881df8a9124ccc2 (patch)
tree5fdb1f02dd14a502cffa330b69c0b87a9fc68e2f /test/cache_tagging.c
parent4a42b04e592d35d38f1a390a2e56464f7dfc313e (diff)
downloadhdf5-101fa7af8ebe26ad015b64d3b881df8a9124ccc2.zip
hdf5-101fa7af8ebe26ad015b64d3b881df8a9124ccc2.tar.gz
hdf5-101fa7af8ebe26ad015b64d3b881df8a9124ccc2.tar.bz2
Cleanups and normalizations against incoming page_buffering changes.
Diffstat (limited to 'test/cache_tagging.c')
-rw-r--r--test/cache_tagging.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/cache_tagging.c b/test/cache_tagging.c
index 74321d3..02ce19b 100644
--- a/test/cache_tagging.c
+++ b/test/cache_tagging.c
@@ -953,9 +953,9 @@ check_dense_attribute_tags(void)
int verbose = FALSE; /* verbose file outout */
int i = 0; /* iterator */
hid_t fapl = -1; /* File access property list */
- haddr_t d_tag = 0; /* Dataset tag value */
- haddr_t root_tag = 0; /* Root group tag value */
- char attrname[500]; /* Name of attribute */
+ haddr_t d_tag = 0; /* Dataset tag value */
+ haddr_t root_tag = 0; /* Root group tag value */
+ char attrname[500]; /* Name of attribute */
/* Testing Macro */
TESTING("tag application during dense attribute manipulation");
@@ -1533,6 +1533,7 @@ check_attribute_rename_tags(hid_t fcpl, int type)
/* Close and Reopen the file and group */
if ( H5Gclose(gid) < 0 ) TEST_ERROR;
if ( H5Fclose(fid) < 0 ) TEST_ERROR;
+
if ( (fid = H5Fopen(FILENAME, H5F_ACC_RDWR, H5P_DEFAULT)) < 0 ) TEST_ERROR;
if ( (gid = H5Gopen2(fid, GROUPNAME, H5P_DEFAULT)) < 0 ) TEST_ERROR;