summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-07-05 22:58:37 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-07-05 22:58:37 (GMT)
commitec08f7b182ffae35a9ba633ea9c164326b990b5a (patch)
treec611735ccfdbccc989afb160c2979d93d7af6976 /testpar/testphdf5.c
parent99c46b756c6a15e6d304f14a178bb44dae0f6d8f (diff)
downloadhdf5-ec08f7b182ffae35a9ba633ea9c164326b990b5a.zip
hdf5-ec08f7b182ffae35a9ba633ea9c164326b990b5a.tar.gz
hdf5-ec08f7b182ffae35a9ba633ea9c164326b990b5a.tar.bz2
[svn-r448] Updated with more tests for extendable datasets such as testing
the expected failures in writing data beyond the current dimension sizes and also in attempting to extend a dataset opened RDONLY.
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 1d8b632..74252f1 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -7,8 +7,10 @@
#include <testphdf5.h>
/* global variables */
-int nerrors = 0; /* errors count */
+int nerrors = 0; /* errors count */
int verbose = 0; /* verbose, default as no. */
+herr_t (*old_func)(void*); /* previous error handler */
+void *old_client_data; /* previous error handler arg.*/
/* other option flags */
int doread=1; /* read test */
@@ -146,6 +148,7 @@ main(int argc, char **argv)
MPI_BANNER("testing dataset collective write...");
dataset_writeAll(filenames[1]);
+
MPI_BANNER("testing extendable dataset independent write...");
extend_writeInd(filenames[2]);
}
@@ -155,6 +158,7 @@ main(int argc, char **argv)
MPI_BANNER("testing dataset collective read...");
dataset_readAll(filenames[1]);
+
MPI_BANNER("testing extendable dataset independent read...");
extend_readInd(filenames[2]);
}