diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2007-07-05 07:38:38 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2007-07-05 07:38:38 (GMT) |
commit | 4040ae4232a2e717e5503b3b069b7561e897085a (patch) | |
tree | d4adde288c333aed5e6bfc77f52544fb2fb097f5 /test/h5test.c | |
parent | 7bce23170f7c957454a885c70a30b073eda11e5c (diff) | |
download | hdf5-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/h5test.c')
-rw-r--r-- | test/h5test.c | 3 |
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; |