summaryrefslogtreecommitdiffstats
path: root/test/external.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-12-01 18:46:07 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-12-01 18:46:07 (GMT)
commite004bd48f2ab7f6b1c3658b5fdc7fe5a6ebeada6 (patch)
tree0d269cc9cf2a3e24d4aeb3b149a645eb42245db4 /test/external.c
parent150d4cf4bbdd8e084264da4b73fe4fc40fa93e5c (diff)
downloadhdf5-e004bd48f2ab7f6b1c3658b5fdc7fe5a6ebeada6.zip
hdf5-e004bd48f2ab7f6b1c3658b5fdc7fe5a6ebeada6.tar.gz
hdf5-e004bd48f2ab7f6b1c3658b5fdc7fe5a6ebeada6.tar.bz2
[svn-r16142] Added a check to H5Dset_extent for the space to be chunked, exit with error otherwise
A call to H5Dset_extent in the external test was removed Tested: windows, linux
Diffstat (limited to 'test/external.c')
-rw-r--r--test/external.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/external.c b/test/external.c
index 2f3cdf6..35d31dc 100644
--- a/test/external.c
+++ b/test/external.c
@@ -784,17 +784,6 @@ test_3 (hid_t fapl)
} /* end if */
} /* end for */
- /* Extend the dataset by another 100 elements */
- if(H5Dset_extent(dset, &max_size) < 0) goto error;
- if(H5Sclose(file_space) < 0) goto error;
- if((file_space = H5Dget_space(dset)) < 0) goto error;
-
- /* Write second half of dataset */
- for(i = 0; i < hs_count; i++)
- whole[i] = 100 + i;
- if(H5Sselect_hyperslab(file_space, H5S_SELECT_SET, &hs_start, NULL, &hs_count, NULL) < 0) goto error;
- if(H5Dwrite(dset, H5T_NATIVE_INT, mem_space, file_space, H5P_DEFAULT, whole) < 0) goto error;
-
if(H5Dclose(dset) < 0) goto error;
if(H5Pclose(dcpl) < 0) goto error;