From 4040ae4232a2e717e5503b3b069b7561e897085a Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 5 Jul 2007 02:38:38 -0500 Subject: [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. --- test/h5test.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v0.12