summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2019-01-16 16:36:25 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2019-01-16 16:36:25 (GMT)
commit47fb7c2ee6541bb006e76c34966102ebbdaec587 (patch)
treec1a6cbfa72d06549b9de9b7c81d0f89f63d3886c /test
parent5fdc01ae997ce8b78e7f03acfa772e05fbd6dc0e (diff)
downloadhdf5-47fb7c2ee6541bb006e76c34966102ebbdaec587.zip
hdf5-47fb7c2ee6541bb006e76c34966102ebbdaec587.tar.gz
hdf5-47fb7c2ee6541bb006e76c34966102ebbdaec587.tar.bz2
Update usage for FAPLs, and reduce # of groups for smoke checks
Diffstat (limited to 'test')
-rw-r--r--test/cache_image.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/cache_image.c b/test/cache_image.c
index 10c37f0..ee49502 100644
--- a/test/cache_image.c
+++ b/test/cache_image.c
@@ -713,6 +713,9 @@ open_hdf5_file(hbool_t create_file, hbool_t mdci_sbem_expected,
file_id = H5Fopen(hdf_file_name, H5F_ACC_RDWR, fapl_id);
}
+ /* tidy up */
+ H5Pclose(fapl_id);
+
if ( file_id < 0 ) {
pass = FALSE;
@@ -4720,7 +4723,7 @@ cache_image_smoke_check_4(hbool_t single_file_vfd)
*-------------------------------------------------------------------------
*/
-#define MAX_NUM_GROUPS 128
+#define MAX_NUM_GROUPS 64
static unsigned
cache_image_smoke_check_5(hbool_t single_file_vfd)
@@ -4756,12 +4759,16 @@ cache_image_smoke_check_5(hbool_t single_file_vfd)
/* setup the file name */
if ( pass ) {
- if ( h5_fixname(FILENAMES[0], H5P_DEFAULT, filename, sizeof(filename))
+ hid_t fapl_id = h5_fileaccess();
+
+ if ( h5_fixname(FILENAMES[0], fapl_id, filename, sizeof(filename))
== NULL ) {
pass = FALSE;
failure_mssg = "h5_fixname() failed.\n";
}
+
+ H5Pclose(fapl_id);
}
if ( show_progress )