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_writer.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_writer.c')
-rw-r--r-- | test/vfd_swmr_vlstr_writer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/vfd_swmr_vlstr_writer.c b/test/vfd_swmr_vlstr_writer.c index 80a2543..193e03c 100644 --- a/test/vfd_swmr_vlstr_writer.c +++ b/test/vfd_swmr_vlstr_writer.c @@ -198,7 +198,9 @@ main(int argc, char **argv) if (argc > 0) errx(EXIT_FAILURE, "unexpected command-line arguments"); - if ((fapl = vfd_swmr_create_fapl(true, sel == TEST_OOB, use_vfd_swmr)) < 0) + fapl = vfd_swmr_create_fapl(true, sel == TEST_OOB, use_vfd_swmr, + "./shadow"); + if (fapl < 0) errx(EXIT_FAILURE, "vfd_swmr_create_fapl"); if ((fcpl = H5Pcreate(H5P_FILE_CREATE)) < 0) |