summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-07 17:14:26 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-07 17:14:26 (GMT)
commit159fa7a232e1961940b83f035f4c27338d26337e (patch)
treeb7344e9cfaadbbec3bc3a0576df8c264debb8239 /test/dsets.c
parent1d17defdfc977c063c7ff20b5868bef9a76e5d9a (diff)
downloadhdf5-159fa7a232e1961940b83f035f4c27338d26337e.zip
hdf5-159fa7a232e1961940b83f035f4c27338d26337e.tar.gz
hdf5-159fa7a232e1961940b83f035f4c27338d26337e.tar.bz2
[svn-r151] Changes since 19980105
---------------------- ./config/freebsd2.2.1 ./config/linux Added -UH5O_DEBUG to the debug flags. Turn this on to get lots of lines on stderr to show what objects are opened and closed. ./src/H5C.o ./src/H5Cpublic.h ./test/dsets.c ./test/tfile.c Split H5Cget_prop() and H5Cset_prop() into functions for each property. ./src/H5D.c ./src/H5Dpublic.h ./src/H5Gstab.c ./src/H5O.c ./src/H5Ocont.c ./src/H5Ocstore.c ./src/H5Odtype.c ./src/H5Oefl.c ./src/H5Oistore.c ./src/H5Oname.c ./src/H5Onull.c ./src/H5Oprivate.h ./src/H5Osdspace.c ./src/H5Ostab.c ./src/H5P.c ./src/istore.c ./test/tohdr.c Object header functions now understand constant vs. non-constant messages. ./src/H5F.c ./src/H5Fprivate.h The file OID can be closed before other OID's. ./src/H5Flow.c H5F_addr_defined() is a macro in this file. ./src/H5G.c ./src/H5Gpublic.h ./test/tstab.c A current working group cannot be deleted. ./src/H5Gent.c ./src/H5Gpkg.h Removed unused functionality. ./src/H5public.h Includes <sys/types.h> for size_t.
Diffstat (limited to 'test/dsets.c')
-rw-r--r--test/dsets.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/dsets.c b/test/dsets.c
index f6d4df8..c5ad49c 100644
--- a/test/dsets.c
+++ b/test/dsets.c
@@ -140,13 +140,9 @@ test_create (hid_t file)
*/
create_parms = H5Ccreate (H5C_DATASET_CREATE);
assert (create_parms>=0);
- status = H5Cset_prop (create_parms, H5D_LAYOUT, H5D_CHUNKED);
- assert (status>=0);
- status = H5Cset_prop (create_parms, H5D_CHUNK_NDIMS, 2);
- assert (status>=0);
csize[0] = 5;
csize[1] = 100;
- status = H5Cset_prop (create_parms, H5D_CHUNK_SIZE, csize);
+ status = H5Cset_chunk (create_parms, 2, csize);
assert (status>=0);
dataset = H5Dcreate (file, DSET_CHUNKED_NAME, H5T_NATIVE_DOUBLE, space,
@@ -270,6 +266,8 @@ test_simple_io (hid_t file)
}
}
+ H5Dclose (dataset);
+
puts (" PASSED");
return SUCCEED;