diff options
author | David Young <dyoung@hdfgroup.org> | 2020-07-21 16:13:05 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-07-21 16:13:05 (GMT) |
commit | 78bd491aadaf867c4b4c0eabab0e7db82df7d922 (patch) | |
tree | 0d589cf4b75e58ef142ca21a3cf76c2e339024dc /test/vfd_swmr_vlstr_reader.c | |
parent | a9fefff6203de210093ad23da89cd77c7f61db0f (diff) | |
download | hdf5-78bd491aadaf867c4b4c0eabab0e7db82df7d922.zip hdf5-78bd491aadaf867c4b4c0eabab0e7db82df7d922.tar.gz hdf5-78bd491aadaf867c4b4c0eabab0e7db82df7d922.tar.bz2 |
Add to the "bigset" writer a `-M` command-line option that enables the use of
multiple files with virtual datasets.
Add to vfd_swmr_create_fapl() printf(3)-like arguments for setting the shadow
filename. Update all callers.
Diffstat (limited to 'test/vfd_swmr_vlstr_reader.c')
-rw-r--r-- | test/vfd_swmr_vlstr_reader.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/vfd_swmr_vlstr_reader.c b/test/vfd_swmr_vlstr_reader.c index dfe06c5..df9037729 100644 --- a/test/vfd_swmr_vlstr_reader.c +++ b/test/vfd_swmr_vlstr_reader.c @@ -135,8 +135,9 @@ main(int argc, char **argv) if (argc > 0) errx(EXIT_FAILURE, "unexpected command-line arguments"); - /* Create file access property list */ - if ((fapl = vfd_swmr_create_fapl(false, sel == TEST_OOB, use_vfd_swmr)) < 0) + fapl = vfd_swmr_create_fapl(false, sel == TEST_OOB, use_vfd_swmr, + "./shadow"); + if (fapl < 0) errx(EXIT_FAILURE, "vfd_swmr_create_fapl"); fid = H5Fopen("vfd_swmr_vlstr.h5", H5F_ACC_RDONLY, fapl); |