summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/h5test.c b/test/h5test.c
index ba3d04f..c2e9859 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -584,6 +584,9 @@ h5_fileaccess(void)
* and copy buffer size to the default values. */
if (H5Pset_fapl_direct(fapl, 1024, 4096, 8*4096)<0) return -1;
#endif
+ } else if (!HDstrcmp(name, "latest")) {
+ /* use the latest format */
+ if (H5Pset_latest_format(fapl, TRUE)<0) return -1;
} else {
/* Unknown driver */
return -1;