summaryrefslogtreecommitdiffstats
path: root/test/cmpd_dset.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/cmpd_dset.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/cmpd_dset.c')
-rw-r--r--test/cmpd_dset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c
index 5d6cfc7..b011bc2 100644
--- a/test/cmpd_dset.c
+++ b/test/cmpd_dset.c
@@ -2032,7 +2032,7 @@ error:
*-------------------------------------------------------------------------
*/
static unsigned
-test_ooo_order(char *filename)
+test_ooo_order(char *filename, hid_t fapl_id)
{
hid_t file = -1; /* File ID */
hid_t dtype = -1; /* Datatype IDs */
@@ -2042,7 +2042,7 @@ test_ooo_order(char *filename)
TESTING("that compound member insertion order is preserved")
/* Create the file */
- if ((file = H5Fcreate (filename, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT)) < 0)
+ if ((file = H5Fcreate (filename, H5F_ACC_TRUNC, H5P_DEFAULT, fapl_id)) < 0)
TEST_ERROR
/* Create the compound */
@@ -2242,7 +2242,7 @@ main (int argc, char *argv[])
nerrors += test_pack_ooo();
puts("Testing compound member ordering:");
- nerrors += test_ooo_order(fname);
+ nerrors += test_ooo_order(fname, fapl_id);
/* Verify symbol table messages are cached */
nerrors += (h5_verify_cached_stabs(FILENAME, fapl_id) < 0 ? 1 : 0);