summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-12-19 23:16:45 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-12-19 23:16:45 (GMT)
commitf1d8d889b40689ae7c8089359d35716764789928 (patch)
tree03b231c5f24466c88166ad90d2d581b0aba7ac97 /test/h5test.c
parent371ed6a518efad31dc806cbc91f8da31e4643f66 (diff)
downloadhdf5-f1d8d889b40689ae7c8089359d35716764789928.zip
hdf5-f1d8d889b40689ae7c8089359d35716764789928.tar.gz
hdf5-f1d8d889b40689ae7c8089359d35716764789928.tar.bz2
Correct core VFD to run with a 1MB increment instead of a 1 byte increment!
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 47ddd34..0226aa7 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -896,11 +896,11 @@ h5_get_vfd_fapl(hid_t fapl)
goto error;
} else if(!HDstrcmp(tok, "core")) {
/* In-memory driver settings (backing store on, 1 MB increment) */
- if(H5Pset_fapl_core(fapl, (size_t)1, TRUE) < 0)
+ if(H5Pset_fapl_core(fapl, (size_t)H5_MB, TRUE) < 0)
goto error;
} else if(!HDstrcmp(tok, "core_paged")) {
/* In-memory driver with write tracking and paging on */
- if(H5Pset_fapl_core(fapl, (size_t)1, TRUE) < 0)
+ if(H5Pset_fapl_core(fapl, (size_t)H5_MB, TRUE) < 0)
goto error;
if(H5Pset_core_write_tracking(fapl, TRUE, (size_t)4096) < 0)
goto error;