summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-04-02 15:29:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-04-02 15:29:35 (GMT)
commitd165e1d8e7c01f201dcb228464064a8f8e50174b (patch)
treed1bf770d9e425bb2f7bc264e83abb7f7baa2d777 /test
parentea7a5346d7a7387a627142bd3a1e7b597f2c4a6d (diff)
downloadhdf5-d165e1d8e7c01f201dcb228464064a8f8e50174b.zip
hdf5-d165e1d8e7c01f201dcb228464064a8f8e50174b.tar.gz
hdf5-d165e1d8e7c01f201dcb228464064a8f8e50174b.tar.bz2
[svn-r12191] Purpose:
Bug fix Description: Correct the handling of the group creation property list when copying objects with the "create intermediate groups" flag. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest (once I pay attention to the compiler warnings... :-)
Diffstat (limited to 'test')
-rwxr-xr-xtest/objcopy.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index 579beac..b19e5dd 100755
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -4848,7 +4848,7 @@ error:
*-------------------------------------------------------------------------
*/
static int
-test_copy_mount(hid_t fapl)
+test_copy_mount(hid_t UNUSED fapl)
{
TESTING("H5Gcopy(): objects between mounted files");
@@ -5635,14 +5635,14 @@ test_copy_dataset_contig_vl_vl(hid_t fapl)
buf[i].p=HDmalloc((i+1)*sizeof(hvl_t));
if(buf[i].p==NULL) {
TestErrPrintf("Cannot allocate memory for VL data! i=%u\n",i);
- return;
+ TEST_ERROR;
} /* end if */
buf[i].len=i+1;
for(tvl=buf[i].p,j=0; j<(i+1); j++, tvl++) {
tvl->p=HDmalloc((j+1)*sizeof(unsigned int));
if(tvl->p==NULL) {
TestErrPrintf("Cannot allocate memory for VL data! i=%u, j=%u\n",i,j);
- return;
+ TEST_ERROR;
} /* end if */
tvl->len=j+1;
for(k=0; k<(j+1); k++)
@@ -5790,14 +5790,14 @@ test_copy_dataset_chunked_vl_vl(hid_t fapl)
buf[i].p=HDmalloc((i+1)*sizeof(hvl_t));
if(buf[i].p==NULL) {
TestErrPrintf("Cannot allocate memory for VL data! i=%u\n",i);
- return;
+ TEST_ERROR;
} /* end if */
buf[i].len=i+1;
for(tvl=buf[i].p,j=0; j<(i+1); j++, tvl++) {
tvl->p=HDmalloc((j+1)*sizeof(unsigned int));
if(tvl->p==NULL) {
TestErrPrintf("Cannot allocate memory for VL data! i=%u, j=%u\n",i,j);
- return;
+ TEST_ERROR;
} /* end if */
tvl->len=j+1;
for(k=0; k<(j+1); k++)
@@ -5946,14 +5946,14 @@ test_copy_dataset_compressed_vl_vl(hid_t fapl)
buf[i].p=HDmalloc((i+1)*sizeof(hvl_t));
if(buf[i].p==NULL) {
TestErrPrintf("Cannot allocate memory for VL data! i=%u\n",i);
- return;
+ TEST_ERROR;
} /* end if */
buf[i].len=i+1;
for(tvl=buf[i].p,j=0; j<(i+1); j++, tvl++) {
tvl->p=HDmalloc((j+1)*sizeof(unsigned int));
if(tvl->p==NULL) {
TestErrPrintf("Cannot allocate memory for VL data! i=%u, j=%u\n",i,j);
- return;
+ TEST_ERROR;
} /* end if */
tvl->len=j+1;
for(k=0; k<(j+1); k++)