summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2007-07-05 07:38:38 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2007-07-05 07:38:38 (GMT)
commit4040ae4232a2e717e5503b3b069b7561e897085a (patch)
treed4adde288c333aed5e6bfc77f52544fb2fb097f5 /test
parent7bce23170f7c957454a885c70a30b073eda11e5c (diff)
downloadhdf5-4040ae4232a2e717e5503b3b069b7561e897085a.zip
hdf5-4040ae4232a2e717e5503b3b069b7561e897085a.tar.gz
hdf5-4040ae4232a2e717e5503b3b069b7561e897085a.tar.bz2
[svn-r13941] Added feature to test the latest format by adding "latest" as the
HDF5_DRIVER value to activate the use of latest_format for file access property list. Platform tested: h5committested.
Diffstat (limited to 'test')
-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;