summaryrefslogtreecommitdiffstats
path: root/test/cache_image.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-11-22 07:21:50 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-11-22 07:21:50 (GMT)
commit3217ffa1ac0c427aedb2c1cc460484c902b89be2 (patch)
tree21b0ddfbeb9e605237a3c8b78306d68ff65c0648 /test/cache_image.c
parent340b7a4fb80230d298e652a7bb35344ad6ce049d (diff)
downloadhdf5-3217ffa1ac0c427aedb2c1cc460484c902b89be2.zip
hdf5-3217ffa1ac0c427aedb2c1cc460484c902b89be2.tar.gz
hdf5-3217ffa1ac0c427aedb2c1cc460484c902b89be2.tar.bz2
Add using FAPL from h5_fileaccess() to more tests.
Diffstat (limited to 'test/cache_image.c')
-rw-r--r--test/cache_image.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/cache_image.c b/test/cache_image.c
index 4d6b065..10e9a8a 100644
--- a/test/cache_image.c
+++ b/test/cache_image.c
@@ -586,12 +586,12 @@ open_hdf5_file(hbool_t create_file, hbool_t mdci_sbem_expected,
/* create a file access propertly list. */
if ( pass ) {
- fapl_id = H5Pcreate(H5P_FILE_ACCESS);
+ fapl_id = h5_fileaccess();
if ( fapl_id < 0 ) {
pass = FALSE;
- failure_mssg = "H5Pcreate() failed.\n";
+ failure_mssg = "h5_fileaccess() failed.\n";
}
}
@@ -928,12 +928,12 @@ attempt_swmr_open_hdf5_file(const hbool_t create_file,
/* create a file access propertly list. */
if ( pass ) {
- fapl_id = H5Pcreate(H5P_FILE_ACCESS);
+ fapl_id = h5_fileaccess();
if ( fapl_id < 0 ) {
pass = FALSE;
- failure_mssg = "H5Pcreate() failed.\n";
+ failure_mssg = "h5_fileaccess() failed.\n";
}
}
@@ -6688,12 +6688,12 @@ cache_image_api_error_check_4(void)
*/
if ( pass ) {
- fapl_id = H5Pcreate(H5P_FILE_ACCESS);
+ fapl_id = h5_fileaccess();
if ( fapl_id < 0 ) {
pass = FALSE;
- failure_mssg = "H5Pcreate() failed.\n";
+ failure_mssg = "h5_fileaccess() failed.\n";
}
}