summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2007-06-04 19:42:13 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2007-06-04 19:42:13 (GMT)
commitb97859eccf8824bd49c406e57007edff8d6b542b (patch)
treeaeb2596bd281c29b981fed009289c71f04d20d46 /test
parent3e1d49f1ec3b5e02ffd9276b36e32ec3bf58ae23 (diff)
downloadhdf5-b97859eccf8824bd49c406e57007edff8d6b542b.zip
hdf5-b97859eccf8824bd49c406e57007edff8d6b542b.tar.gz
hdf5-b97859eccf8824bd49c406e57007edff8d6b542b.tar.bz2
[svn-r13832] Some minor changes - let each driver use its own file name respectively.
Tested on smirom because it's simple change.
Diffstat (limited to 'test')
-rw-r--r--test/big.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/big.c b/test/big.c
index 4ae7dff..5481cd0 100644
--- a/test/big.c
+++ b/test/big.c
@@ -21,6 +21,7 @@
const char *FILENAME[] = {
"big",
+ "sec2",
"stdio",
NULL
};
@@ -172,6 +173,7 @@ supports_big(void)
if (5!=HDwrite(fd, "hello", (size_t)5)) return 0;
if (HDclose(fd)<0) return 0;
+ if (HDunlink("y.h5")<0) return 0;
return (1);
}
@@ -492,6 +494,9 @@ usage(void)
* Albert Cheng, 2002/04/19
* Added command option -c.
*
+ * Raymond Lu, 2007/05/25
+ * Added similar tests for SEC2 and STDIO drivers.
+ *
*-------------------------------------------------------------------------
*/
int
@@ -616,7 +621,7 @@ main (int ac, char **av)
if(H5Pset_fapl_sec2(fapl)<0)
HDmemset(filename, 0, sizeof(filename));
- h5_fixname(FILENAME[2], fapl, filename, sizeof filename);
+ h5_fixname(FILENAME[1], fapl, filename, sizeof filename);
if (writer(filename, fapl, WRT_N)) goto error;
if (reader(filename, fapl)) goto error;
@@ -636,7 +641,7 @@ main (int ac, char **av)
if(H5Pset_fapl_stdio(fapl)<0)
HDmemset(filename, 0, sizeof(filename));
- h5_fixname(FILENAME[1], fapl, filename, sizeof filename);
+ h5_fixname(FILENAME[2], fapl, filename, sizeof filename);
if (writer(filename, fapl, WRT_N)) goto error;
if (reader(filename, fapl)) goto error;