[svn-r8581] Purpose: new test

Description:  Add test of null dataspace for dataset and attribute in h5repack.


Platforms tested:  RH8(fuss).  Simple change, only h5repack is involved.
This commit is contained in:
Raymond Lu 2004-05-26 14:43:42 -05:00
parent 5e892a9d64
commit dd03ef3f27

View File

@ -619,7 +619,7 @@ static void write_null_dset(hid_t loc_id, int make_diffs)
int val = 2;
double dval = 7.8;
/* Create the null attribute */
/* Create the null dataset */
sid = H5Screate(H5S_NULL);
if(make_diffs) {
dset_id = H5Dcreate(loc_id,"null_dset",H5T_NATIVE_INT,sid,H5P_DEFAULT);