diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-06-05 21:03:49 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-06-05 21:03:49 (GMT) |
commit | 1e8ebeecfc67073a3019f9c2084a5977d2b8c62e (patch) | |
tree | 9ad027ec237578472f22d62b8adb6edfa9aafdfa /test/extend.c | |
parent | a63ccc0c6b02c232744a35ed6fbb8c3708f7a3aa (diff) | |
download | hdf5-1e8ebeecfc67073a3019f9c2084a5977d2b8c62e.zip hdf5-1e8ebeecfc67073a3019f9c2084a5977d2b8c62e.tar.gz hdf5-1e8ebeecfc67073a3019f9c2084a5977d2b8c62e.tar.bz2 |
[svn-r410] Changes since 19980604
----------------------
./src/H5A.c
Named data types can have attributes.
Fixed bugs where the API functions didn't check the return
values of their internal counterparts and thus the automatic
error reporting didn't work.
Fixed some places where the error stack wasn't cleared after a
function returned failure.
Data types returned by H5Aget_type() are always read-only.
If the `attr_num' argument of H5Aiterate() is null then it
acts like H5Giterate() instead of failing -- it begins
processing attributes with the first one.
./src/H5D.c
We check for allocation overruns when scalar datasets are
stored in external files.
./src/H5O.c
H5O_modify() will fail if the message is >=16kB.
./src/H5Oattr.c
Split some long lines
./src/H5T.c
./src/H5Tprivate.h
Added H5T_entof() to support attributes on named types.
./src/h5ls.c
Prints the names of attributes and their sizes.
./test/cmpd_dset.c
./test/dsets.c
./test/dtypes.c
./test/extend.c
./test/external.c
./test/gheap.c
./test/istore.c
./test/links.c
./test/shtype.c
If the environment variable HDF5_NOCLEANUP is defined then the
temporary files are not removed. The testhdf5 program still
has the bug that it removes *.h5, clobbering test files from
other programs... oh well.
./test/dtypes.c
Added attribute tests.
Diffstat (limited to 'test/extend.c')
-rw-r--r-- | test/extend.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/extend.c b/test/extend.c index b582cc4..d1b3d0e 100644 --- a/test/extend.c +++ b/test/extend.c @@ -9,6 +9,7 @@ */ #include <assert.h> #include <hdf5.h> +#include <stdlib.h> #define TEST_FILE_NAME "extend.h5" #define NX 100 /* USE AN EVEN NUMBER!*/ @@ -32,8 +33,11 @@ static void cleanup(void) { - remove(TEST_FILE_NAME); + if (!getenv ("HDF5_NOCLEANUP")) { + remove(TEST_FILE_NAME); + } } + /*------------------------------------------------------------------------- * Function: main |